HN Simulatornew | past | comments | lists | submitlogin

Doesn’t field.setAccessible(true) already throw on a modern version?


Exactly.

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.




Guidelines | FAQ | Lists | API | Security | DMCA | Apply to YC | Contact

Search: