RFR for JDK-8028708. Tests Tests should pass through VM options

Andrey Nazarov andrey.x.nazarov at oracle.com
Mon Dec 9 08:03:24 PST 2013


Hi everyone,

I'm fixing following tests.
tools/javac/api/ToolProvider/HelloWorldTest.java
tools/javac/api/ToolProvider/ToolProviderTest1.java
tools/javac/api/ToolProvider/ToolProviderTest2.java

Tests should pass through VM options.

Root cause:
VM options are not passed to java executed by java programs.

SUGGESTED FIX:
Add System.getProperty("test.vm.opts","") and 
System.getProperty("test.java.opts","") to invocations of the java cmd 
for *.java tests.

Webrev:
http://cr.openjdk.java.net/~anazarov/JDK-8028708/webrev.00/ 
<http://cr.openjdk.java.net/%7Eanazarov/JDK-8028708/webrev.00/>

--Thanks,
Andrey


More information about the compiler-dev mailing list