8213718: [TEST] Wrong classname in vmTestbase/nsk/stress/except/except002 and except003
Reviewed-by: zgu, jcbeyler
This commit is contained in:
parent
1d340e454c
commit
90cf7a7d12
@ -234,8 +234,8 @@ public class except002 {
|
||||
|
||||
// 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) {
|
||||
|
@ -235,8 +235,8 @@ public class except003 {
|
||||
|
||||
// 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) {
|
||||
|
Loading…
Reference in New Issue
Block a user