Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8343224

print/Dialog/PaperSizeError.java fails with MediaSizeName is not A4: A4

XMLWordPrintable

    • 2d
    • b04

        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

              alexsch Alexandr Scherbatiy
              landrews Lawrence Andrews
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: