-
Notifications
You must be signed in to change notification settings - Fork 20
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
JEP 416 causes StAPI to crash on Java 18 onward #87
Comments
A better approach would probably be analysing the entrypoint classes with SpASM and replacing calls to However, this won't work with |
Using Unsafe as a replacement is nonsense too thanks to JEP 8323072. |
At the moment, I've decided to go a safe route:
All these changes should make StationAPI fully forwards-compatible with modern Java versions. |
https://openjdk.org/jeps/416
Since all reflection is refactored to use method handles, StAPI's reflection trick to replace final fields no longer works.
This can probably be fixed by using Unsafe instead.
The text was updated successfully, but these errors were encountered: