Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiling with JDK 9+ crashes on JRE 8 #16

Closed
jellysquid3 opened this issue May 16, 2020 · 1 comment
Closed

Compiling with JDK 9+ crashes on JRE 8 #16

jellysquid3 opened this issue May 16, 2020 · 1 comment
Labels
T-bug Type: Bug

Comments

@jellysquid3
Copy link
Member

The method signature of ByteBuffer#flip changed in Java 9, causing code compiled with a newer JDK to crash when used on older runtimes despite the bytecode compatibility level.

@jellysquid3 jellysquid3 added the T-bug Type: Bug label May 16, 2020
@jellysquid3
Copy link
Member Author

I'm going to close this issue and treat it as an unsupported configuration. There could be many more lurking issues caused by backwards-incompatible standard library changes, and trying to patch around this greatly reduces code quality.

If you want to compile with Java 9+, you must use a Java 9+ runtime.

jellysquid3 pushed a commit that referenced this issue Aug 22, 2020
More and more users are using GitHub actions, and running into #16. This is probably the most efficient way to prevent complaints before they happen.
LucilleTea pushed a commit to LucilleTea/sodium-fabric that referenced this issue Oct 13, 2020
More and more users are using GitHub actions, and running into CaffeineMC#16. This is probably the most efficient way to prevent complaints before they happen.
LuanHalaiko pushed a commit to LuanHalaiko/sodium-fabric that referenced this issue Oct 31, 2020
More and more users are using GitHub actions, and running into CaffeineMC#16. This is probably the most efficient way to prevent complaints before they happen.
LuanHalaiko pushed a commit to LuanHalaiko/sodium-fabric that referenced this issue Oct 31, 2020
More and more users are using GitHub actions, and running into CaffeineMC#16. This is probably the most efficient way to prevent complaints before they happen.
mrmangohands pushed a commit to mrmangohands/sodium-fabric that referenced this issue Nov 5, 2020
More and more users are using GitHub actions, and running into CaffeineMC#16. This is probably the most efficient way to prevent complaints before they happen.
mrmangohands pushed a commit to mrmangohands/sodium-fabric that referenced this issue Feb 12, 2021
More and more users are using GitHub actions, and running into CaffeineMC#16. This is probably the most efficient way to prevent complaints before they happen.
mrmangohands pushed a commit to mrmangohands/sodium-fabric that referenced this issue Feb 12, 2021
More and more users are using GitHub actions, and running into CaffeineMC#16. This is probably the most efficient way to prevent complaints before they happen.
mrmangohands pushed a commit to mrmangohands/sodium-fabric that referenced this issue Feb 21, 2021
More and more users are using GitHub actions, and running into CaffeineMC#16. This is probably the most efficient way to prevent complaints before they happen.
mrmangohands pushed a commit that referenced this issue Feb 28, 2021
More and more users are using GitHub actions, and running into #16. This is probably the most efficient way to prevent complaints before they happen.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-bug Type: Bug
Development

No branches or pull requests

1 participant