Doesn't work on OpenJ9
DanielUchilah opened this issue ยท 3 comments
- This issue is not solved in a development build
Describe the bug
ProtocolLib doesn't work on OpenJ9 Java version.
To Reproduce
Steps to reproduce the behavior:
- Use any version of 'OpenJ9 java' on the server
- Start the server
- ProtocolLib doesn't enable
- See error in console
Expected behavior
ProtocolLib work fine.
Screenshots
None
Version Info
https://pastebin.com/kKT4j6hH
Additional context
On regular JAVA works fine. This looks for me a must do fix because the OpenJ9 its 3x more optimized compared to regular java.
Duplicate of #2507
To be clear: due to restrictions that the jvm made to reflection we cannot support openj9, as we're relying on some (rather unsafe) mechanics to make reflections still work without breaking backwards compatibility.
I had the same problem, updating to different java version helped but I don't remember if I downgraded from 18/19 to 17 or upgraded to 18/19 from 17