Merge
This commit is contained in:
commit
1314bfbc94
@ -279,6 +279,8 @@ endif
|
||||
# Default JTREG to run
|
||||
JTREG = $(JT_HOME)/bin/jtreg
|
||||
|
||||
# Use agent mode
|
||||
JTREG_BASIC_OPTIONS += -agentvm
|
||||
# Only run automatic tests
|
||||
JTREG_BASIC_OPTIONS += -a
|
||||
# Report details on all failed or error tests, times too
|
||||
|
@ -30,7 +30,7 @@
|
||||
* java.instrument
|
||||
* java.management
|
||||
* @compile -XDignore.symbol.file RedefineMethodUsedByMultipleMethodHandles.java
|
||||
* @run main RedefineMethodUsedByMultipleMethodHandles
|
||||
* @run main/othervm RedefineMethodUsedByMultipleMethodHandles
|
||||
*/
|
||||
|
||||
import java.io.*;
|
||||
|
@ -69,7 +69,7 @@ import uncommontrap.Verifier;
|
||||
* -XX:CompileCommand=compileonly,UnstableIfExecutable.test
|
||||
* -XX:LogFile=never_taken_fired.xml
|
||||
* TestUnstableIfTrap NEVER_TAKEN true
|
||||
* @run main uncommontrap.Verifier always_taken_not_fired.xml
|
||||
* @run main/othervm uncommontrap.Verifier always_taken_not_fired.xml
|
||||
* always_taken_fired.xml
|
||||
* never_taken_not_fired.xml
|
||||
* never_taken_fired.xml
|
||||
|
@ -30,7 +30,6 @@
|
||||
* @compile WhiteBox.java
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI sun.hotspot.WhiteBox
|
||||
* @clean sun.hotspot.WhiteBox
|
||||
*/
|
||||
|
||||
package sun.hotspot;
|
@ -139,6 +139,9 @@ public final class ProcessTools {
|
||||
args.add(javapath);
|
||||
Collections.addAll(args, getPlatformSpecificVMArgs());
|
||||
|
||||
args.add("-cp");
|
||||
args.add(System.getProperty("java.class.path"));
|
||||
|
||||
if (addTestVmAndJavaOptions) {
|
||||
Collections.addAll(args, Utils.getTestJavaOpts());
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user