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

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

XMLWordPrintable

    • b12
    • 7u6
    • b17
    • x86
    • os_x
    • Verified

        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)

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: