-
Bug
-
Resolution: Fixed
-
P4
-
8, 23, 24
-
b23
-
generic
-
generic
Following two test fails with
open/test/jdk/java/awt/print/Dialog/PrintDlgPageable.java
open/test/jdk/javax/print/StreamPrintingOrientation.java
test/jdk/javax/print/URLGIFPrinting.java
----------System.err:(11/874)----------
java.lang.IllegalAccessException: class com.sun.javatest.regtest.agent.MainWrapper$MainTask cannot access a member of class PrintDlgPageable with modifiers "public static"
at java.base/jdk.internal.reflect.Reflection.newIllegalAccessException(Reflection.java:401)
at java.base/java.lang.reflect.AccessibleObject.checkAccess(AccessibleObject.java:692)
at java.base/java.lang.reflect.Method.invoke(Method.java:563)
at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
at java.base/java.lang.Thread.run(Thread.java:1491)
This two tests is not a public class & when I added public the test passes
open/test/jdk/java/awt/print/Dialog/PrintDlgPageable.java
open/test/jdk/javax/print/StreamPrintingOrientation.java
test/jdk/javax/print/URLGIFPrinting.java
----------System.err:(11/874)----------
java.lang.IllegalAccessException: class com.sun.javatest.regtest.agent.MainWrapper$MainTask cannot access a member of class PrintDlgPageable with modifiers "public static"
at java.base/jdk.internal.reflect.Reflection.newIllegalAccessException(Reflection.java:401)
at java.base/java.lang.reflect.AccessibleObject.checkAccess(AccessibleObject.java:692)
at java.base/java.lang.reflect.Method.invoke(Method.java:563)
at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
at java.base/java.lang.Thread.run(Thread.java:1491)
This two tests is not a public class & when I added public the test passes
- duplicates
-
JDK-8332911 javax/print/StreamPrintingOrientation.java fails with IllegalAccessException
- Closed
- relates to
-
JDK-8346837 jdk/javax/print/URLGIFPrinting.java test fails with java.lang.IllegalAccessException: class com.sun.javatest.regtest.agent.MainWrapper$MainTask
- Resolved
- links to
-
Commit(master) openjdk/jdk/dafa2e55
-
Review(master) openjdk/jdk/21780