jdk/test/java/lang/Class/forName/modules/src/m2/p2/test/Main.java
changeset 42338 a60f280f803c
parent 36511 9d0388c6b336
child 44545 83b611b88ac8
--- a/jdk/test/java/lang/Class/forName/modules/src/m2/p2/test/Main.java	Wed Nov 23 16:16:35 2016 +0000
+++ b/jdk/test/java/lang/Class/forName/modules/src/m2/p2/test/Main.java	Thu Dec 01 08:57:53 2016 +0000
@@ -44,7 +44,7 @@
         try {
             Class<?> c = findClass(m1, "p1.internal.B");
             c.newInstance();
-            throw new RuntimeException(c.getName() + " is not exported to m2");
+            throw new RuntimeException(c.getName() + " should not be exported to m2");
         } catch (IllegalAccessException e) {}
     }