ProtocolLib

3M Downloads

Doesn't work on OpenJ9

DanielUchilah opened this issue ยท 3 comments

commented
  • 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:

  1. Use any version of 'OpenJ9 java' on the server
  2. Start the server
  3. ProtocolLib doesn't enable
  4. 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.

commented

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.

commented

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

commented

yeah, update to java 20 (18 and 19 works but I don't recommended it)