RFR: 8266851: Implement JEP 403: Strongly Encapsulate JDK Internals [v2]

Mark Reinhold mr at openjdk.java.net
Thu May 13 23:07:08 UTC 2021


On Thu, 13 May 2021 18:16:23 GMT, Mandy Chung <mchung at openjdk.org> wrote:

>> Mark Reinhold has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Remove stray mentions of the jdk.module.illegalAccess property
>
> There are a few tests with `--illegal-access=deny` for example
> 
> test/jdk/java/lang/ModuleTests/BasicModuleTest.java
> test/jdk/java/lang/instrument/RedefineModuleTest.java
> test/jdk/java/lang/invoke/CallerSensitiveAccess.java
> test/jdk/java/lang/reflect/AccessibleObject/ - a few tests
> test/jdk/jdk/modules/open/Basic.java
> test/jdk/tools/launcher/modules/addexports/manifest/AddExportsAndOpensInManifest.java
> 
> 
> It would be good to remove these references to `--illegal-access` option in this patch too.

@mlchung Thanks for pointing out those stray uses of `--illegal-access`. I’ve removed them, along with the mention of `--illegal-access` in `launcher.properties`.

-------------

PR: https://git.openjdk.java.net/jdk/pull/4015


More information about the hotspot-runtime-dev mailing list