< prev index next >

test/hotspot/jtreg/vmTestbase/nsk/stress/except/except003.java

Print this page

        

@@ -233,12 +233,12 @@
                 log[messages++] = "Warning: pool[] is full; so, checks would not be enough hard...";
         }
 
         // 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) {
             if (TRACE_ON)
                 log[messages++] = "Success: ClassNotFoundException (negative)";
< prev index next >