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

Java 16+ Needs JEP 261 Overrides #22

Open
The-File opened this issue Aug 27, 2023 · 1 comment
Open

Java 16+ Needs JEP 261 Overrides #22

The-File opened this issue Aug 27, 2023 · 1 comment

Comments

@The-File
Copy link

Specify "--add-opens=java.*****=ALL-UNNAMED" type arguments for every single internal JDK API used. In Java 16+, due to JEP 261 (https://openjdk.org/jeps/261), strong encapsulation is enabled by default, and assumed internal JDK APIs are illegal to be utilized via reflection. You can manually break this still via "--add-opens" or "--add-exports" commands.

This issue breaks legacy downstream product(s) by Three Rings.

@The-File
Copy link
Author

As per, this issue ticket is being opened to help notify legacy threerings alumni this issue was triaged and worked on in downstream products with very ad-hoc community effort.

https://github.com/The-File/SK-Fixed

@The-File The-File changed the title Java 9+ Needs JEP 261 Overrides Java 16+ Needs JEP 261 Overrides Aug 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant