Proposal (revised): Allow illegal access to internal APIs by default in JDK 9
Alan Bateman
Alan.Bateman at oracle.com
Tue Jun 6 06:09:03 UTC 2017
On 06/06/2017 04:34, Stephen Felts wrote:
> The new format is missing information that was useful in the earlier -Dsun.reflect.debugModuleAccessChecks=true. It printed something like
> 'java.base does not "opens java.text" to unnamed module ...' so it was really obvious what option was needed.
>
>
`-Dsun.reflect.debugModuleAccessChecks=true` can still be used to hunt
code that swallows IllegalAccessException or
InaccessibleObjectException, particularly useful when running with
`--illegal-access=deny`.
-Alan
More information about the jigsaw-dev
mailing list