Such hacks will slowly stop working (without explicitly allowing it from the command line.)
In this example, it would throw an IllegalAccessException, because java.base doesn't open java.lang.
In this example, it would throw an IllegalAccessException, because java.base doesn't open java.lang.
You can make it not throw by adding `--add-opens java.base/java.lang=ALL-UNNAMED` or similar to the command line, but breaking things like this is becoming harder.