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

[macosx] New issue in 7u6 b12: HeadlessPrintingTest failure

    Details

    • Subcomponent:
    • Introduced In Build:
      b12
    • Introduced In Version:
      7u6
    • Resolved In Build:
      b17
    • CPU:
      x86
    • OS:
      os_x
    • Verification:
      Verified

      Backports

        Description

        MacOS X 10.7.4 macmini41, and iMac
        Build 7u6b12

        run closed/java/awt/print/PrinterJob/HeadlessPrintingTest.java. In 7u6 b11 it just printed to a default printer instead of a file. Now it fails with

        java.lang.UnsatisfiedLinkError: sun.lwawt.macosx.CPrinterJob.getDefaultPage(Ljava/awt/print/PageFormat;)V
        at sun.lwawt.macosx.CPrinterJob.getDefaultPage(Native Method)
        at sun.lwawt.macosx.CPrinterJob.defaultPage(CPrinterJob.java:144)
        at sun.print.RasterPrinterJob.setPrintable(RasterPrinterJob.java:980)
        at HeadlessPrintingTest.main(HeadlessPrintingTest.java:21)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
        at java.lang.Thread.run(Thread.java:722)

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  anthony Anthony Petrov (Inactive)
                  Reporter:
                  yan Yuri Nesterenko
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: