8330534: Update nsk/jdwp tests to use driver instead of othervm
Reviewed-by: sspitsyn, cjplummer
This commit is contained in:
parent
bbd3b1d812
commit
56e8e60792
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2001, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2001, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -89,7 +89,10 @@ public class getvalues001 {
|
||||
* Start test from command line.
|
||||
*/
|
||||
public static void main (String argv[]) {
|
||||
System.exit(run(argv,System.out) + JCK_STATUS_BASE);
|
||||
int result = run(argv, System.out);
|
||||
if (result != 0) {
|
||||
throw new RuntimeException("Test failed");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2017, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -58,7 +58,7 @@
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.ArrayReference.GetValues.getvalues001a
|
||||
* @run main/othervm
|
||||
* @run driver
|
||||
* nsk.jdwp.ArrayReference.GetValues.getvalues001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2001, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2001, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -116,7 +116,10 @@ public class getvalues002 {
|
||||
* Start test from command line.
|
||||
*/
|
||||
public static void main (String argv[]) {
|
||||
System.exit(run(argv,System.out) + JCK_STATUS_BASE);
|
||||
int result = run(argv, System.out);
|
||||
if (result != 0) {
|
||||
throw new RuntimeException("Test failed");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2017, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -60,7 +60,7 @@
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.ArrayReference.GetValues.getvalues002a
|
||||
* @run main/othervm
|
||||
* @run driver
|
||||
* nsk.jdwp.ArrayReference.GetValues.getvalues002
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2001, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2001, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -85,7 +85,10 @@ public class length001 {
|
||||
* Start test from command line.
|
||||
*/
|
||||
public static void main (String argv[]) {
|
||||
System.exit(run(argv,System.out) + JCK_STATUS_BASE);
|
||||
int result = run(argv, System.out);
|
||||
if (result != 0) {
|
||||
throw new RuntimeException("Test failed");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2017, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -57,7 +57,7 @@
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.ArrayReference.Length.length001a
|
||||
* @run main/othervm
|
||||
* @run driver
|
||||
* nsk.jdwp.ArrayReference.Length.length001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2001, 2021, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2001, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -92,7 +92,10 @@ public class setvalues001 {
|
||||
* Start test from command line.
|
||||
*/
|
||||
public static void main (String argv[]) {
|
||||
System.exit(run(argv,System.out) + JCK_STATUS_BASE);
|
||||
int result = run(argv, System.out);
|
||||
if (result != 0) {
|
||||
throw new RuntimeException("Test failed");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2017, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -60,7 +60,7 @@
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.ArrayReference.SetValues.setvalues001a
|
||||
* @run main/othervm
|
||||
* @run driver
|
||||
* nsk.jdwp.ArrayReference.SetValues.setvalues001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2001, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2001, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -84,7 +84,10 @@ public class newinstance001 {
|
||||
* Start test from command line.
|
||||
*/
|
||||
public static void main (String argv[]) {
|
||||
System.exit(run(argv,System.out) + JCK_STATUS_BASE);
|
||||
int result = run(argv, System.out);
|
||||
if (result != 0) {
|
||||
throw new RuntimeException("Test failed");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2017, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -55,7 +55,7 @@
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.ArrayType.NewInstance.newinstance001a
|
||||
* @run main/othervm
|
||||
* @run driver
|
||||
* nsk.jdwp.ArrayType.NewInstance.newinstance001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2001, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2001, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -81,7 +81,10 @@ public class visibclasses001 {
|
||||
* Start test from command line.
|
||||
*/
|
||||
public static void main (String argv[]) {
|
||||
System.exit(run(argv,System.out) + JCK_STATUS_BASE);
|
||||
int result = run(argv, System.out);
|
||||
if (result != 0) {
|
||||
throw new RuntimeException("Test failed");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2017, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -57,7 +57,7 @@
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.ClassLoaderReference.VisibleClasses.visibclasses001a
|
||||
* @run main/othervm
|
||||
* @run driver
|
||||
* nsk.jdwp.ClassLoaderReference.VisibleClasses.visibclasses001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2001, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2001, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -45,7 +45,10 @@ public class reflectype001 {
|
||||
static final String TESTED_CLASS_SIGNATURE = "L" + TESTED_CLASS_NAME.replace('.', '/') + ";";
|
||||
|
||||
public static void main (String argv[]) {
|
||||
System.exit(run(argv,System.out) + JCK_STATUS_BASE);
|
||||
int result = run(argv, System.out);
|
||||
if (result != 0) {
|
||||
throw new RuntimeException("Test failed");
|
||||
}
|
||||
}
|
||||
|
||||
public static int run(String argv[], PrintStream out) {
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2017, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -60,7 +60,7 @@
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.ClassObjectReference.ReflectedType.reflectype001a
|
||||
* @run main/othervm
|
||||
* @run driver
|
||||
* nsk.jdwp.ClassObjectReference.ReflectedType.reflectype001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2001, 2021, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2001, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -97,7 +97,10 @@ public class invokemeth001 {
|
||||
* Start test from command line.
|
||||
*/
|
||||
public static void main (String argv[]) {
|
||||
System.exit(run(argv,System.out) + JCK_STATUS_BASE);
|
||||
int result = run(argv, System.out);
|
||||
if (result != 0) {
|
||||
throw new RuntimeException("Test failed");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2017, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -60,7 +60,7 @@
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.ClassType.InvokeMethod.invokemeth001a
|
||||
* @run main/othervm
|
||||
* @run driver
|
||||
* nsk.jdwp.ClassType.InvokeMethod.invokemeth001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2001, 2021, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2001, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -96,8 +96,11 @@ public class newinst001 {
|
||||
/**
|
||||
* Start test from command line.
|
||||
*/
|
||||
public static void main(String argv[]) {
|
||||
System.exit(run(argv,System.out) + JCK_STATUS_BASE);
|
||||
public static void main (String argv[]) {
|
||||
int result = run(argv, System.out);
|
||||
if (result != 0) {
|
||||
throw new RuntimeException("Test failed");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2017, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -60,7 +60,7 @@
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.ClassType.NewInstance.newinst001a
|
||||
* @run main/othervm
|
||||
* @run driver
|
||||
* nsk.jdwp.ClassType.NewInstance.newinst001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2001, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2001, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -88,7 +88,10 @@ public class setvalues001 {
|
||||
* Start test from command line.
|
||||
*/
|
||||
public static void main (String argv[]) {
|
||||
System.exit(run(argv,System.out) + JCK_STATUS_BASE);
|
||||
int result = run(argv, System.out);
|
||||
if (result != 0) {
|
||||
throw new RuntimeException("Test failed");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2017, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -66,7 +66,7 @@
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.ClassType.SetValues.setvalues001a
|
||||
* @run main/othervm
|
||||
* @run driver
|
||||
* nsk.jdwp.ClassType.SetValues.setvalues001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2001, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2001, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -85,7 +85,10 @@ public class superclass001 {
|
||||
* Start test from command line.
|
||||
*/
|
||||
public static void main (String argv[]) {
|
||||
System.exit(run(argv,System.out) + JCK_STATUS_BASE);
|
||||
int result = run(argv, System.out);
|
||||
if (result != 0) {
|
||||
throw new RuntimeException("Test failed");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2017, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -56,7 +56,7 @@
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.ClassType.Superclass.superclass001a
|
||||
* @run main/othervm
|
||||
* @run driver
|
||||
* nsk.jdwp.ClassType.Superclass.superclass001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2001, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2001, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -90,8 +90,11 @@ public class breakpoint001 {
|
||||
/**
|
||||
* Start test from command line.
|
||||
*/
|
||||
public static void main(String argv[]) {
|
||||
System.exit(run(argv,System.out) + JCK_STATUS_BASE);
|
||||
public static void main (String argv[]) {
|
||||
int result = run(argv, System.out);
|
||||
if (result != 0) {
|
||||
throw new RuntimeException("Test failed");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2017, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -60,7 +60,7 @@
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.Event.BREAKPOINT.breakpoint001a
|
||||
* @run main/othervm
|
||||
* @run driver
|
||||
* nsk.jdwp.Event.BREAKPOINT.breakpoint001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2001, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2001, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -80,8 +80,11 @@ public class clsprepare001 {
|
||||
/**
|
||||
* Start test from command line.
|
||||
*/
|
||||
public static void main(String argv[]) {
|
||||
System.exit(run(argv,System.out) + JCK_STATUS_BASE);
|
||||
public static void main (String argv[]) {
|
||||
int result = run(argv, System.out);
|
||||
if (result != 0) {
|
||||
throw new RuntimeException("Test failed");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2017, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -60,7 +60,7 @@
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.Event.CLASS_PREPARE.clsprepare001a
|
||||
* @run main/othervm
|
||||
* @run driver
|
||||
* nsk.jdwp.Event.CLASS_PREPARE.clsprepare001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2001, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2001, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -80,8 +80,11 @@ public class clsunload001 {
|
||||
/**
|
||||
* Start test from command line.
|
||||
*/
|
||||
public static void main(String argv[]) {
|
||||
System.exit(run(argv,System.out) + JCK_STATUS_BASE);
|
||||
public static void main (String argv[]) {
|
||||
int result = run(argv, System.out);
|
||||
if (result != 0) {
|
||||
throw new RuntimeException("Test failed");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2017, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -62,7 +62,7 @@
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.Event.CLASS_UNLOAD.clsunload001a
|
||||
* @run main/othervm
|
||||
* @run driver
|
||||
* nsk.jdwp.Event.CLASS_UNLOAD.clsunload001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2001, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2001, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -75,8 +75,11 @@ public class composite001 {
|
||||
/**
|
||||
* Start test from command line.
|
||||
*/
|
||||
public static void main(String argv[]) {
|
||||
System.exit(run(argv,System.out) + JCK_STATUS_BASE);
|
||||
public static void main (String argv[]) {
|
||||
int result = run(argv, System.out);
|
||||
if (result != 0) {
|
||||
throw new RuntimeException("Test failed");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2017, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -49,7 +49,7 @@
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.Event.Composite.composite001a
|
||||
* @run main/othervm
|
||||
* @run driver
|
||||
* nsk.jdwp.Event.Composite.composite001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2001, 2022, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2001, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -97,8 +97,11 @@ public class exception001 {
|
||||
/**
|
||||
* Start test from command line.
|
||||
*/
|
||||
public static void main(String argv[]) {
|
||||
System.exit(run(argv,System.out) + JCK_STATUS_BASE);
|
||||
public static void main (String argv[]) {
|
||||
int result = run(argv, System.out);
|
||||
if (result != 0) {
|
||||
throw new RuntimeException("Test failed");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2017, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -64,7 +64,7 @@
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.Event.EXCEPTION.exception001a
|
||||
* @run main/othervm
|
||||
* @run driver
|
||||
* nsk.jdwp.Event.EXCEPTION.exception001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2001, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2001, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -99,8 +99,11 @@ public class fldaccess001 {
|
||||
/**
|
||||
* Start test from command line.
|
||||
*/
|
||||
public static void main(String argv[]) {
|
||||
System.exit(run(argv,System.out) + JCK_STATUS_BASE);
|
||||
public static void main (String argv[]) {
|
||||
int result = run(argv, System.out);
|
||||
if (result != 0) {
|
||||
throw new RuntimeException("Test failed");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2017, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -63,7 +63,7 @@
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.Event.FIELD_ACCESS.fldaccess001a
|
||||
* @run main/othervm
|
||||
* @run driver
|
||||
* nsk.jdwp.Event.FIELD_ACCESS.fldaccess001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2001, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2001, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -100,8 +100,11 @@ public class fldmodification001 {
|
||||
/**
|
||||
* Start test from command line.
|
||||
*/
|
||||
public static void main(String argv[]) {
|
||||
System.exit(run(argv,System.out) + JCK_STATUS_BASE);
|
||||
public static void main (String argv[]) {
|
||||
int result = run(argv, System.out);
|
||||
if (result != 0) {
|
||||
throw new RuntimeException("Test failed");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2017, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -64,7 +64,7 @@
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.Event.FIELD_MODIFICATION.fldmodification001a
|
||||
* @run main/othervm
|
||||
* @run driver
|
||||
* nsk.jdwp.Event.FIELD_MODIFICATION.fldmodification001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2001, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2001, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -92,8 +92,11 @@ public class methentry001 {
|
||||
/**
|
||||
* Start test from command line.
|
||||
*/
|
||||
public static void main(String argv[]) {
|
||||
System.exit(run(argv,System.out) + JCK_STATUS_BASE);
|
||||
public static void main (String argv[]) {
|
||||
int result = run(argv, System.out);
|
||||
if (result != 0) {
|
||||
throw new RuntimeException("Test failed");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2017, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -61,7 +61,7 @@
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.Event.METHOD_ENTRY.methentry001a
|
||||
* @run main/othervm
|
||||
* @run driver
|
||||
* nsk.jdwp.Event.METHOD_ENTRY.methentry001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2001, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2001, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -92,8 +92,11 @@ public class methexit001 {
|
||||
/**
|
||||
* Start test from command line.
|
||||
*/
|
||||
public static void main(String argv[]) {
|
||||
System.exit(run(argv,System.out) + JCK_STATUS_BASE);
|
||||
public static void main (String argv[]) {
|
||||
int result = run(argv, System.out);
|
||||
if (result != 0) {
|
||||
throw new RuntimeException("Test failed");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2017, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -61,7 +61,7 @@
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.Event.METHOD_EXIT.methexit001a
|
||||
* @run main/othervm
|
||||
* @run driver
|
||||
* nsk.jdwp.Event.METHOD_EXIT.methexit001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2001, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2001, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -93,8 +93,11 @@ public class singlestep001 {
|
||||
/**
|
||||
* Start test from command line.
|
||||
*/
|
||||
public static void main(String argv[]) {
|
||||
System.exit(run(argv,System.out) + JCK_STATUS_BASE);
|
||||
public static void main (String argv[]) {
|
||||
int result = run(argv, System.out);
|
||||
if (result != 0) {
|
||||
throw new RuntimeException("Test failed");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2017, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -63,7 +63,7 @@
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.Event.SINGLE_STEP.singlestep001a
|
||||
* @run main/othervm
|
||||
* @run driver
|
||||
* nsk.jdwp.Event.SINGLE_STEP.singlestep001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2001, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2001, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -95,8 +95,11 @@ public class singlestep002 {
|
||||
/**
|
||||
* Start test from command line.
|
||||
*/
|
||||
public static void main(String argv[]) {
|
||||
System.exit(run(argv,System.out) + JCK_STATUS_BASE);
|
||||
public static void main (String argv[]) {
|
||||
int result = run(argv, System.out);
|
||||
if (result != 0) {
|
||||
throw new RuntimeException("Test failed");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2017, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -63,7 +63,7 @@
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.Event.SINGLE_STEP.singlestep002a
|
||||
* @run main/othervm
|
||||
* @run driver
|
||||
* nsk.jdwp.Event.SINGLE_STEP.singlestep002
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2001, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2001, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -95,8 +95,11 @@ public class singlestep003 {
|
||||
/**
|
||||
* Start test from command line.
|
||||
*/
|
||||
public static void main(String argv[]) {
|
||||
System.exit(run(argv,System.out) + JCK_STATUS_BASE);
|
||||
public static void main (String argv[]) {
|
||||
int result = run(argv, System.out);
|
||||
if (result != 0) {
|
||||
throw new RuntimeException("Test failed");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2017, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -63,7 +63,7 @@
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.Event.SINGLE_STEP.singlestep003a
|
||||
* @run main/othervm
|
||||
* @run driver
|
||||
* nsk.jdwp.Event.SINGLE_STEP.singlestep003
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2001, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2001, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -88,8 +88,11 @@ public class thrdeath001 {
|
||||
/**
|
||||
* Start test from command line.
|
||||
*/
|
||||
public static void main(String argv[]) {
|
||||
System.exit(run(argv,System.out) + JCK_STATUS_BASE);
|
||||
public static void main (String argv[]) {
|
||||
int result = run(argv, System.out);
|
||||
if (result != 0) {
|
||||
throw new RuntimeException("Test failed");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2017, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -61,7 +61,7 @@
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.Event.THREAD_DEATH.thrdeath001a
|
||||
* @run main/othervm
|
||||
* @run driver
|
||||
* nsk.jdwp.Event.THREAD_DEATH.thrdeath001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2001, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2001, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -88,8 +88,11 @@ public class thrstart001 {
|
||||
/**
|
||||
* Start test from command line.
|
||||
*/
|
||||
public static void main(String argv[]) {
|
||||
System.exit(run(argv,System.out) + JCK_STATUS_BASE);
|
||||
public static void main (String argv[]) {
|
||||
int result = run(argv, System.out);
|
||||
if (result != 0) {
|
||||
throw new RuntimeException("Test failed");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2017, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -61,7 +61,7 @@
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.Event.THREAD_START.thrstart001a
|
||||
* @run main/othervm
|
||||
* @run driver
|
||||
* nsk.jdwp.Event.THREAD_START.thrstart001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2001, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2001, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -74,8 +74,11 @@ public class vmdeath001 {
|
||||
/**
|
||||
* Start test from command line.
|
||||
*/
|
||||
public static void main(String argv[]) {
|
||||
System.exit(run(argv,System.out) + JCK_STATUS_BASE);
|
||||
public static void main (String argv[]) {
|
||||
int result = run(argv, System.out);
|
||||
if (result != 0) {
|
||||
throw new RuntimeException("Test failed");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2017, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -53,7 +53,7 @@
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.Event.VM_DEATH.vmdeath001a
|
||||
* @run main/othervm
|
||||
* @run driver
|
||||
* nsk.jdwp.Event.VM_DEATH.vmdeath001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2001, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2001, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -81,8 +81,11 @@ public class vmdeath002 {
|
||||
/**
|
||||
* Start test from command line.
|
||||
*/
|
||||
public static void main(String argv[]) {
|
||||
System.exit(run(argv,System.out) + JCK_STATUS_BASE);
|
||||
public static void main (String argv[]) {
|
||||
int result = run(argv, System.out);
|
||||
if (result != 0) {
|
||||
throw new RuntimeException("Test failed");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2017, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -60,7 +60,7 @@
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.Event.VM_DEATH.vmdeath002a
|
||||
* @run main/othervm
|
||||
* @run driver
|
||||
* nsk.jdwp.Event.VM_DEATH.vmdeath002
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2001, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2001, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -74,8 +74,11 @@ public class vmstart001 {
|
||||
/**
|
||||
* Start test from command line.
|
||||
*/
|
||||
public static void main(String argv[]) {
|
||||
System.exit(run(argv,System.out) + JCK_STATUS_BASE);
|
||||
public static void main (String argv[]) {
|
||||
int result = run(argv, System.out);
|
||||
if (result != 0) {
|
||||
throw new RuntimeException("Test failed");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2017, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -51,7 +51,7 @@
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.Event.VM_START.vmstart001a
|
||||
* @run main/othervm
|
||||
* @run driver
|
||||
* nsk.jdwp.Event.VM_START.vmstart001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2001, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2001, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -88,8 +88,11 @@ public class clear001 {
|
||||
/**
|
||||
* Start test from command line.
|
||||
*/
|
||||
public static void main(String argv[]) {
|
||||
System.exit(run(argv,System.out) + JCK_STATUS_BASE);
|
||||
public static void main (String argv[]) {
|
||||
int result = run(argv, System.out);
|
||||
if (result != 0) {
|
||||
throw new RuntimeException("Test failed");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2017, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -58,7 +58,7 @@
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.EventRequest.Clear.clear001a
|
||||
* @run main/othervm
|
||||
* @run driver
|
||||
* nsk.jdwp.EventRequest.Clear.clear001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2001, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2001, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -88,8 +88,11 @@ public class clrallbreakp001 {
|
||||
/**
|
||||
* Start test from command line.
|
||||
*/
|
||||
public static void main(String argv[]) {
|
||||
System.exit(run(argv,System.out) + JCK_STATUS_BASE);
|
||||
public static void main (String argv[]) {
|
||||
int result = run(argv, System.out);
|
||||
if (result != 0) {
|
||||
throw new RuntimeException("Test failed");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2017, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -56,7 +56,7 @@
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.EventRequest.ClearAllBreakpoints.clrallbreakp001a
|
||||
* @run main/othervm
|
||||
* @run driver
|
||||
* nsk.jdwp.EventRequest.ClearAllBreakpoints.clrallbreakp001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2001, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2001, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -82,8 +82,11 @@ public class clrallbreakp002 {
|
||||
/**
|
||||
* Start test from command line.
|
||||
*/
|
||||
public static void main(String argv[]) {
|
||||
System.exit(run(argv,System.out) + JCK_STATUS_BASE);
|
||||
public static void main (String argv[]) {
|
||||
int result = run(argv, System.out);
|
||||
if (result != 0) {
|
||||
throw new RuntimeException("Test failed");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2017, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -50,7 +50,7 @@
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.EventRequest.ClearAllBreakpoints.clrallbreakp002a
|
||||
* @run main/othervm
|
||||
* @run driver
|
||||
* nsk.jdwp.EventRequest.ClearAllBreakpoints.clrallbreakp002
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2001, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2001, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -88,8 +88,11 @@ public class clrallbreakp003 {
|
||||
/**
|
||||
* Start test from command line.
|
||||
*/
|
||||
public static void main(String argv[]) {
|
||||
System.exit(run(argv,System.out) + JCK_STATUS_BASE);
|
||||
public static void main (String argv[]) {
|
||||
int result = run(argv, System.out);
|
||||
if (result != 0) {
|
||||
throw new RuntimeException("Test failed");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2017, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -53,7 +53,7 @@
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.EventRequest.ClearAllBreakpoints.clrallbreakp003a
|
||||
* @run main/othervm
|
||||
* @run driver
|
||||
* nsk.jdwp.EventRequest.ClearAllBreakpoints.clrallbreakp003
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2001, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2001, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -90,8 +90,11 @@ public class set001 {
|
||||
/**
|
||||
* Start test from command line.
|
||||
*/
|
||||
public static void main(String argv[]) {
|
||||
System.exit(run(argv,System.out) + JCK_STATUS_BASE);
|
||||
public static void main (String argv[]) {
|
||||
int result = run(argv, System.out);
|
||||
if (result != 0) {
|
||||
throw new RuntimeException("Test failed");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2017, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -59,7 +59,7 @@
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.EventRequest.Set.set001a
|
||||
* @run main/othervm
|
||||
* @run driver
|
||||
* nsk.jdwp.EventRequest.Set.set001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2001, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2001, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -77,8 +77,11 @@ public class set002 {
|
||||
/**
|
||||
* Start test from command line.
|
||||
*/
|
||||
public static void main(String argv[]) {
|
||||
System.exit(run(argv,System.out) + JCK_STATUS_BASE);
|
||||
public static void main (String argv[]) {
|
||||
int result = run(argv, System.out);
|
||||
if (result != 0) {
|
||||
throw new RuntimeException("Test failed");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2017, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -61,7 +61,7 @@
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.EventRequest.Set.set002a
|
||||
* @run main/othervm
|
||||
* @run driver
|
||||
* nsk.jdwp.EventRequest.Set.set002
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2001, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2001, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -93,7 +93,10 @@ public class bytecodes001 {
|
||||
* Start test from command line.
|
||||
*/
|
||||
public static void main (String argv[]) {
|
||||
System.exit(run(argv,System.out) + JCK_STATUS_BASE);
|
||||
int result = run(argv, System.out);
|
||||
if (result != 0) {
|
||||
throw new RuntimeException("Test failed");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2017, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -54,7 +54,7 @@
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.Method.Bytecodes.bytecodes001a
|
||||
* @run main/othervm
|
||||
* @run driver
|
||||
* nsk.jdwp.Method.Bytecodes.bytecodes001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2001, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2001, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -89,7 +89,10 @@ public class isobsolete001 {
|
||||
* Start test from command line.
|
||||
*/
|
||||
public static void main (String argv[]) {
|
||||
System.exit(run(argv,System.out) + JCK_STATUS_BASE);
|
||||
int result = run(argv, System.out);
|
||||
if (result != 0) {
|
||||
throw new RuntimeException("Test failed");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2017, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -57,7 +57,7 @@
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.Method.IsObsolete.isobsolete001a
|
||||
* @run main/othervm
|
||||
* @run driver
|
||||
* nsk.jdwp.Method.IsObsolete.isobsolete001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2001, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2001, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -96,7 +96,10 @@ public class isobsolete002 {
|
||||
* Start test from command line.
|
||||
*/
|
||||
public static void main (String argv[]) {
|
||||
System.exit(run(argv,System.out) + JCK_STATUS_BASE);
|
||||
int result = run(argv, System.out);
|
||||
if (result != 0) {
|
||||
throw new RuntimeException("Test failed");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2017, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -72,7 +72,7 @@
|
||||
* nsk.jdwp.Method.IsObsolete.isobsolete002b
|
||||
* @run driver nsk.share.ExtraClassesBuilder
|
||||
* newclass
|
||||
* @run main/othervm
|
||||
* @run driver
|
||||
* nsk.jdwp.Method.IsObsolete.isobsolete002
|
||||
* .
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2001, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2001, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -89,7 +89,10 @@ public class linetable001 {
|
||||
* Start test from command line.
|
||||
*/
|
||||
public static void main (String argv[]) {
|
||||
System.exit(run(argv,System.out) + JCK_STATUS_BASE);
|
||||
int result = run(argv, System.out);
|
||||
if (result != 0) {
|
||||
throw new RuntimeException("Test failed");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2017, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -68,7 +68,7 @@
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.Method.LineTable.linetable001a
|
||||
* @run main/othervm
|
||||
* @run driver
|
||||
* nsk.jdwp.Method.LineTable.linetable001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2001, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2001, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -119,7 +119,10 @@ public class vartable001 {
|
||||
* Start test from command line.
|
||||
*/
|
||||
public static void main (String argv[]) {
|
||||
System.exit(run(argv,System.out) + JCK_STATUS_BASE);
|
||||
int result = run(argv, System.out);
|
||||
if (result != 0) {
|
||||
throw new RuntimeException("Test failed");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2017, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -60,7 +60,7 @@
|
||||
* @comment debuggee should be compiled w/ debug info
|
||||
* @clean nsk.jdwp.Method.VariableTable.vartable001a
|
||||
* @compile -g:lines,source,vars ../vartable001a.java
|
||||
* @run main/othervm
|
||||
* @run driver
|
||||
* nsk.jdwp.Method.VariableTable.vartable001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2004, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2004, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -136,7 +136,10 @@ public class vartblwithgen001 {
|
||||
* Start test from command line.
|
||||
*/
|
||||
public static void main (String argv[]) {
|
||||
System.exit(run(argv,System.out) + JCK_STATUS_BASE);
|
||||
int result = run(argv, System.out);
|
||||
if (result != 0) {
|
||||
throw new RuntimeException("Test failed");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2017, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -60,7 +60,7 @@
|
||||
* @comment debuggee should be compiled w/ debug info
|
||||
* @clean nsk.jdwp.Method.VariableTableWithGeneric.vartblwithgen001a
|
||||
* @compile -g:lines,source,vars ../vartblwithgen001a.java
|
||||
* @run main/othervm
|
||||
* @run driver
|
||||
* nsk.jdwp.Method.VariableTableWithGeneric.vartblwithgen001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2001, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2001, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -86,7 +86,10 @@ public class disablecol001 {
|
||||
* Start test from command line.
|
||||
*/
|
||||
public static void main (String argv[]) {
|
||||
System.exit(run(argv,System.out) + JCK_STATUS_BASE);
|
||||
int result = run(argv, System.out);
|
||||
if (result != 0) {
|
||||
throw new RuntimeException("Test failed");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2017, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -54,7 +54,7 @@
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.ObjectReference.DisableCollection.disablecol001a
|
||||
* @run main/othervm
|
||||
* @run driver
|
||||
* nsk.jdwp.ObjectReference.DisableCollection.disablecol001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2001, 2021, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2001, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -86,7 +86,10 @@ public class enablecol001 {
|
||||
* Start test from command line.
|
||||
*/
|
||||
public static void main (String argv[]) {
|
||||
System.exit(run(argv,System.out) + JCK_STATUS_BASE);
|
||||
int result = run(argv, System.out);
|
||||
if (result != 0) {
|
||||
throw new RuntimeException("Test failed");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2017, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -55,7 +55,7 @@
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.ObjectReference.EnableCollection.enablecol001a
|
||||
* @run main/othervm
|
||||
* @run driver
|
||||
* nsk.jdwp.ObjectReference.EnableCollection.enablecol001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2001, 2021, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2001, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -99,7 +99,10 @@ public class getvalues001 {
|
||||
* Start test from command line.
|
||||
*/
|
||||
public static void main (String argv[]) {
|
||||
System.exit(run(argv,System.out) + JCK_STATUS_BASE);
|
||||
int result = run(argv, System.out);
|
||||
if (result != 0) {
|
||||
throw new RuntimeException("Test failed");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2017, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -58,7 +58,7 @@
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.ObjectReference.GetValues.getvalues001a
|
||||
* @run main/othervm
|
||||
* @run driver
|
||||
* nsk.jdwp.ObjectReference.GetValues.getvalues001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2001, 2021, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2001, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -99,7 +99,10 @@ public class invokemeth001 {
|
||||
* Start test from command line.
|
||||
*/
|
||||
public static void main (String argv[]) {
|
||||
System.exit(run(argv,System.out) + JCK_STATUS_BASE);
|
||||
int result = run(argv, System.out);
|
||||
if (result != 0) {
|
||||
throw new RuntimeException("Test failed");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2017, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -61,7 +61,7 @@
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.ObjectReference.InvokeMethod.invokemeth001a
|
||||
* @run main/othervm
|
||||
* @run driver
|
||||
* nsk.jdwp.ObjectReference.InvokeMethod.invokemeth001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2001, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2001, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -86,7 +86,10 @@ public class iscollected001 {
|
||||
* Start test from command line.
|
||||
*/
|
||||
public static void main (String argv[]) {
|
||||
System.exit(run(argv,System.out) + JCK_STATUS_BASE);
|
||||
int result = run(argv, System.out);
|
||||
if (result != 0) {
|
||||
throw new RuntimeException("Test failed");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2017, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -57,7 +57,7 @@
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.ObjectReference.IsCollected.iscollected001a
|
||||
* @run main/othervm
|
||||
* @run driver
|
||||
* nsk.jdwp.ObjectReference.IsCollected.iscollected001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2001, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2001, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -101,7 +101,10 @@ public class monitorinfo001 {
|
||||
* Start test from command line.
|
||||
*/
|
||||
public static void main (String argv[]) {
|
||||
System.exit(run(argv,System.out) + JCK_STATUS_BASE);
|
||||
int result = run(argv, System.out);
|
||||
if (result != 0) {
|
||||
throw new RuntimeException("Test failed");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2017, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -69,7 +69,7 @@
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.ObjectReference.MonitorInfo.monitorinfo001a
|
||||
* @run main/othervm
|
||||
* @run driver
|
||||
* nsk.jdwp.ObjectReference.MonitorInfo.monitorinfo001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2001, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2001, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -86,7 +86,10 @@ public class referencetype001 {
|
||||
* Start test from command line.
|
||||
*/
|
||||
public static void main (String argv[]) {
|
||||
System.exit(run(argv,System.out) + JCK_STATUS_BASE);
|
||||
int result = run(argv, System.out);
|
||||
if (result != 0) {
|
||||
throw new RuntimeException("Test failed");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2017, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -59,7 +59,7 @@
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.ObjectReference.ReferenceType.referencetype001a
|
||||
* @run main/othervm
|
||||
* @run driver
|
||||
* nsk.jdwp.ObjectReference.ReferenceType.referencetype001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2007, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2007, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -95,8 +95,11 @@ public class referringObjects001 extends TestDebuggerType1 {
|
||||
return nsk.jdwp.ObjectReference.ReferringObjects.referringObjects001.referringObjects001a.class.getName();
|
||||
}
|
||||
|
||||
public static void main(String[] argv) {
|
||||
System.exit(run(argv, System.out) + Consts.JCK_STATUS_BASE);
|
||||
public static void main (String argv[]) {
|
||||
int result = run(argv, System.out);
|
||||
if (result != 0) {
|
||||
throw new RuntimeException("Test failed");
|
||||
}
|
||||
}
|
||||
|
||||
public static int run(String[] argv, PrintStream out) {
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2007, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2007, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -83,8 +83,11 @@ public class referringObjects002 extends TestDebuggerType1 {
|
||||
return nsk.jdwp.ObjectReference.ReferringObjects.referringObjects002.referringObjects002a.class.getName();
|
||||
}
|
||||
|
||||
public static void main(String[] argv) {
|
||||
System.exit(run(argv, System.out) + Consts.JCK_STATUS_BASE);
|
||||
public static void main (String argv[]) {
|
||||
int result = run(argv, System.out);
|
||||
if (result != 0) {
|
||||
throw new RuntimeException("Test failed");
|
||||
}
|
||||
}
|
||||
|
||||
public static int run(String[] argv, PrintStream out) {
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2001, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2001, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -95,7 +95,10 @@ public class setvalues001 {
|
||||
* Start test from command line.
|
||||
*/
|
||||
public static void main (String argv[]) {
|
||||
System.exit(run(argv,System.out) + JCK_STATUS_BASE);
|
||||
int result = run(argv, System.out);
|
||||
if (result != 0) {
|
||||
throw new RuntimeException("Test failed");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2017, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -68,7 +68,7 @@
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.ObjectReference.SetValues.setvalues001a
|
||||
* @run main/othervm
|
||||
* @run driver
|
||||
* nsk.jdwp.ObjectReference.SetValues.setvalues001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2001, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2001, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -45,7 +45,10 @@ public class classloader001 {
|
||||
static final String TESTED_CLASS_SIGNATURE = "L" + TESTED_CLASS_NAME.replace('.', '/') + ";";
|
||||
|
||||
public static void main (String argv[]) {
|
||||
System.exit(run(argv,System.out) + JCK_STATUS_BASE);
|
||||
int result = run(argv, System.out);
|
||||
if (result != 0) {
|
||||
throw new RuntimeException("Test failed");
|
||||
}
|
||||
}
|
||||
|
||||
public static int run(String argv[], PrintStream out) {
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2017, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -54,7 +54,7 @@
|
||||
* @library /vmTestbase /test/hotspot/jtreg/vmTestbase
|
||||
* /test/lib
|
||||
* @build nsk.jdwp.ReferenceType.ClassLoader.classloader001a
|
||||
* @run main/othervm
|
||||
* @run driver
|
||||
* nsk.jdwp.ReferenceType.ClassLoader.classloader001
|
||||
* -arch=${os.family}-${os.simpleArch}
|
||||
* -verbose
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user