< prev index next >

modules/javafx.web/src/main/java/com/sun/webkit/MethodHelper.java

Print this page
rev 10442 : [mq]: fix-v1-8177566-trampoline

@@ -59,11 +59,11 @@
             // in question unconditionally or opens the package in question to
             // this module.
             if (!module.isExported(packageName)) {
                 if (!module.isOpen(packageName, thisModule)) {
                     throw new IllegalAccessException(
-                            "class " + MethodHelper.class.getName()
+                            "module " + thisModule.getName()
                             + " cannot access class " + clazz.getName()
                             + " (in module " + module.getName()
                             + ") because module " + module.getName()
                             + " does not open " + packageName
                             + " to " + thisModule.getName());
< prev index next >