JDK-8159523 : Fix tests depending on absence of -limitmods in VM arguments.
  • Type: Bug
  • Component: core-libs
  • Priority: P3
  • Status: In Progress
  • Resolution: Unresolved
  • Submitted: 2016-06-14
  • Updated: 2016-09-28
Related Reports
Relates :  
Description
Some tests assume that there is no -limitmods option used and fail if it is used.

Tests which are known to suffer from this problem:
java/lang/invoke/modules/ModuleAccessControlTest.java
java/lang/reflect/Proxy/ProxyClassAccessTest.java
java/lang/reflect/Proxy/ProxyTest.java
java/util/logging/modules/GetResourceBundleTest.java
java/util/ResourceBundle/modules/security/TestPermission.java
jdk/modules/scenarios/container/ContainerTest.java
tools/jar/modularJar/Basic.java
tools/launcher/modules/addexports/AddExportsTest.java
Comments
java/security/Provider/SecurityProviderModularTest.java jdk/modules/scenarios/automaticmodules/RunWithAutomaticModules.java
28-09-2016

java/util/logging/modules/GetResourceBundleTest.java java/util/ResourceBundle/modules/security/TestPermission.java Already fixed as part of JDK-8165583
12-09-2016

Also: jdk/modules/scenarios/automaticmodules/RunWithAutomaticModules.java
02-08-2016