changeset 52518:13f0aac77d60

8213718: [TEST] Wrong classname in vmTestbase/nsk/stress/except/except002 and except003 Reviewed-by: zgu, jcbeyler
author dholmes
date Mon, 12 Nov 2018 16:36:05 -0500
parents 52be2c714a2f
children 34510f65fb58
files test/hotspot/jtreg/vmTestbase/nsk/stress/except/except002.java test/hotspot/jtreg/vmTestbase/nsk/stress/except/except003.java
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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) {