5 ms·
That will teach me to test on Java 8. Oh well. The whole point was it was a bad idea. UPDATE: I see there is a flag --illegal-access=permit so if you want to
by hyperman1 5y ago
That will teach me to test on Java 8. Oh well. The whole point was it was a bad idea.
UPDATE: I see there is a flag --illegal-access=permit so if you want to abuse Java, you can still go ahead ;-)
- hashmash 5y agoOpenJDK 64-Bit Server VM warning: Ignoring option --illegal-access=permit; support was removed in 17.0
- hyperman1 5y agoDamn you guys/girls are fast.
- dpratt 5y agoAs of Java 17, no longer. This option was intended as a migration path for badly behaving code, and as of today it no longer works.
- kasperni 5y agoSupport for --illegal-access=permit was removed with Java 17. But you can use "--add-opens=java.base/java.lang=ALL-UNNAMED" instead if you really want. If you really want to shoot yourself in the foot. You can always go native...