The JDI tests have some quite arcane way of sending command line options to the 
debuggee. Options have to be put into a file called @debuggeeVMOptions before 
invoking jtreg. This was apparently implemented before there was a way in jtreg 
to set -vmoptions/-javaoptions.

I'd like to remove this crufty code and instead use the value of 
-vmoptions/-javaoptions when launching the debuggee. This would make it a lot 
simpler and more consistent to launch these tests. 

The current test infrastructure puts the same options in @debuggeeVMOptions as 
in -javaoptions when launching the JDI tests. 

I am not quite sure about the difference between -vmoptions and -javaoptions. 
It seems both are used to change the options of the JVM running the test. 
Because of this I pick up both values and forward them to the launching of the 
debuggee JVM. However, I can't see any other tests that use TESTJAVAOPTS, they 
all seem to use TESTVMOPTS. The problem with that for my case is that the test 
infrastructure uses -javaoptions instead of -vmoptions.

webrev: http://cr.openjdk.java.net/~sla/6622468/webrev.00/
bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6622468

Thanks,
/Staffan

Reply via email to