-
Bug
-
Resolution: Fixed
-
P2
-
9
-
OS X 10.9 PIT of jdk9 b06
-
b08
-
x86_64
-
os_x
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8045570 | 8u25 | Petr Pchelko | P2 | Resolved | Fixed | b01 |
JDK-8038109 | 8u20 | Petr Pchelko | P2 | Closed | Fixed | b09 |
JDK-8053798 | emb-8u26 | Petr Pchelko | P2 | Resolved | Fixed | b17 |
We have apparently some security by-product bug on Mac.
Run this simple code with b06 PIT build of jdk9:
import java.awt.print.*;
public class PriJo {
public static void main(String args[]) {
PrinterJob pj = PrinterJob.getPrinterJob();
PageFormat pf = pj.pageDialog(new PageFormat());
}
}
It will fail with
Exception in thread "main" java.awt.AWTError: Could not access PrinterJob: sun.lwawt.macosx.CPrinterJob
at java.awt.print.PrinterJob$1.run(PrinterJob.java:88)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.print.PrinterJob.getPrinterJob(PrinterJob.java:77)
at PriJo.main(PriJo.java:4)
It's new issue in this PIT only. Could it be a stopper?
Run this simple code with b06 PIT build of jdk9:
import java.awt.print.*;
public class PriJo {
public static void main(String args[]) {
PrinterJob pj = PrinterJob.getPrinterJob();
PageFormat pf = pj.pageDialog(new PageFormat());
}
}
It will fail with
Exception in thread "main" java.awt.AWTError: Could not access PrinterJob: sun.lwawt.macosx.CPrinterJob
at java.awt.print.PrinterJob$1.run(PrinterJob.java:88)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.print.PrinterJob.getPrinterJob(PrinterJob.java:77)
at PriJo.main(PriJo.java:4)
It's new issue in this PIT only. Could it be a stopper?
- backported by
-
JDK-8045570 PIT: access problem to a PrinterJob on OS X
-
- Resolved
-
-
JDK-8053798 PIT: access problem to a PrinterJob on OS X
-
- Resolved
-
-
JDK-8038109 PIT: access problem to a PrinterJob on OS X
-
- Closed
-