< prev index next >

test/hotspot/jtreg/runtime/LoaderConstraints/vtableLdrConstraint/Test.java

Print this page

        

@@ -36,20 +36,20 @@
 public class Test {
 
     // Break expected error messages into 3 parts since the loader name includes its identity
     // hash which is unique and can't be compared against.
     static String expectedErrorMessage1_part1 = "loader constraint violation for class test.Task: when " +
-                                                "selecting overriding method 'test.Foo test.Task.m()' the " +
+                                                "selecting overriding method test.Task.m()Ltest/Foo; the " +
                                                 "class loader PreemptingClassLoader @";
     static String expectedErrorMessage1_part2 = " of the selected method's type test.Task, and the class " +
                                                 "loader 'app' for its super type test.J have different Class objects " +
                                                 "for the type test.Foo used in the signature (test.Task is in unnamed " +
                                                 "module of loader PreemptingClassLoader @";
     static String expectedErrorMessage1_part3 = ", parent loader 'app'; test.J is in unnamed module of loader 'app')";
 
     static String expectedErrorMessage2_part1 = "loader constraint violation for class test.Task: when " +
-                                                "selecting overriding method 'test.Foo test.Task.m()' the " +
+                                                "selecting overriding method test.Task.m()Ltest/Foo; the " +
                                                 "class loader 'VtableLdrCnstrnt_Test_Loader' @";
     static String expectedErrorMessage2_part2 = " of the selected method's type test.Task, and the class " +
                                                 "loader 'app' for its super type test.J have different Class objects " +
                                                 "for the type test.Foo used in the signature (test.Task is in unnamed " +
                                                 "module of loader 'VtableLdrCnstrnt_Test_Loader' @";
< prev index next >