8213718: [TEST] Wrong classname in vmTestbase/nsk/stress/except/except002 and except003
Reviewed-by: zgu, jcbeyler
--- a/test/hotspot/jtreg/vmTestbase/nsk/stress/except/except002.java Mon Nov 12 13:13:00 2018 -0800
+++ b/test/hotspot/jtreg/vmTestbase/nsk/stress/except/except002.java Mon Nov 12 16:36:05 2018 -0500
@@ -234,8 +234,8 @@
// Check ClassNotFoundException (positive):
try {
- trash = Class.forName("nsk.stress.except.except002.except002$Abra$Cadabra"); // correct - should pass
-// trash = Class.forName("nsk.stress.except.except002.except002.Abra.Cadabra"); // incorrect - should fail
+ trash = Class.forName("nsk.stress.except.except002$Abra$Cadabra"); // correct - should pass
+// trash = Class.forName("nsk.stress.except.except002.Abra.Cadabra"); // incorrect - should fail
if (TRACE_ON)
log[messages++] = "Success: ClassNotFoundException (positive)";
} catch (ClassNotFoundException cnfe) {
--- a/test/hotspot/jtreg/vmTestbase/nsk/stress/except/except003.java Mon Nov 12 13:13:00 2018 -0800
+++ b/test/hotspot/jtreg/vmTestbase/nsk/stress/except/except003.java Mon Nov 12 16:36:05 2018 -0500
@@ -235,8 +235,8 @@
// Check ClassNotFoundException (negative):
try {
-// trash = Class.forName("nsk.stress.except.except003.except003$Abra$Cadabra"); // correct - should pass
- trash = Class.forName("nsk.stress.except.except003.except003.Abra.Cadabra"); // incorrect - should fail
+// trash = Class.forName("nsk.stress.except.except003$Abra$Cadabra"); // correct - should pass
+ trash = Class.forName("nsk.stress.except.except003.Abra.Cadabra"); // incorrect - should fail
log[messages++] = "Failure: ClassNotFoundException (negative)";
exitCode = 2;
} catch (ClassNotFoundException cnfe) {