> Now if you want to really abuse Java, try this one :
This is no longer possible out of the box after "JEP 403: Strongly Encapsulate JDK Internals" [1].
This is no longer possible out of the box after "JEP 403: Strongly Encapsulate JDK Internals" [1].
UPDATE: I see there is a flag --illegal-access=permit so if you want to abuse Java, you can still go ahead ;-)
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...