8213718: [TEST] Wrong classname in vmTestbase/nsk/stress/except/except002 and except003

Reviewed-by: zgu, jcbeyler
This commit is contained in:
David Holmes 2018-11-12 16:36:05 -05:00
parent 1d340e454c
commit 90cf7a7d12
2 changed files with 4 additions and 4 deletions

View File

@ -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) {

View File

@ -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) {