< prev index next >
test/hotspot/jtreg/vmTestbase/nsk/stress/except/except002.java
Print this page
@@ -232,12 +232,12 @@
log[messages++] = "Warning: pool[] is full; so, checks would not be enough hard...";
}
// 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) {
log[messages++] = "Failure: ClassNotFoundException (positive)";
exitCode = 2;
< prev index next >