-
Bug
-
Resolution: Unresolved
-
P3
-
21.0.4, 23, 24
-
Cause Known
open/test/jdk/java/awt/print/Dialog/PaperSizeError.java fails with the following
----------System.out:(8/289)----------
This test assumes and requires that you have a printer installed
Two page dialogs will appear. You must press 'OK' on both.
If the test fails, it will throw an Exception.
Units = 1/72" size=595.0x842.0
Units = 1/72" new size=595.0x842.0
Units = MM new size=209.90277x297.03888
Media = A4
----------System.err:(12/693)----------
java.lang.RuntimeException: MediaSizeName is not A4: A4
at PaperSizeError.verifyPaper(PaperSizeError.java:112)
at PaperSizeError.main(PaperSizeError.java:78)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:573)
at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
at java.base/java.lang.Thread.run(Thread.java:1576)
Tested on MacOs 14.6 & linux-aarch64-OL-9-3
----------System.out:(8/289)----------
This test assumes and requires that you have a printer installed
Two page dialogs will appear. You must press 'OK' on both.
If the test fails, it will throw an Exception.
Units = 1/72" size=595.0x842.0
Units = 1/72" new size=595.0x842.0
Units = MM new size=209.90277x297.03888
Media = A4
----------System.err:(12/693)----------
java.lang.RuntimeException: MediaSizeName is not A4: A4
at PaperSizeError.verifyPaper(PaperSizeError.java:112)
at PaperSizeError.main(PaperSizeError.java:78)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:573)
at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
at java.base/java.lang.Thread.run(Thread.java:1576)
Tested on MacOs 14.6 & linux-aarch64-OL-9-3
- relates to
-
JDK-7001133 OutOfMemoryError by CustomMediaSizeName implementation
- Resolved
- links to
-
Review(master) openjdk/jdk/22429