-
Bug
-
Resolution: Fixed
-
P4
-
6u10, 9
-
None
-
b38
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8084168 | emb-9 | Philip Race | P4 | Resolved | Fixed | team |
JDK-8065485 | 8u45 | Philip Race | P4 | Resolved | Fixed | b01 |
JDK-8064370 | 8u40 | Philip Race | P4 | Resolved | Fixed | b15 |
JDK-8070036 | emb-8u47 | Philip Race | P4 | Resolved | Fixed | team |
If you call g2d.setClip(null) on the printer graphics then draw a transparent image
you get the following exception :-
java.lang.NullPointerException
at sun.awt.windows.WPathGraphics.redrawRegion(WPathGraphics.java:1401)
at sun.print.RasterPrinterJob.printPage(RasterPrinterJob.java:2143)
at sun.print.RasterPrinterJob.print(RasterPrinterJob.java:1480)
at sun.print.RasterPrinterJob.print(RasterPrinterJob.java:1323)
at ARGB.main(ARGB.java:53)
you get the following exception :-
java.lang.NullPointerException
at sun.awt.windows.WPathGraphics.redrawRegion(WPathGraphics.java:1401)
at sun.print.RasterPrinterJob.printPage(RasterPrinterJob.java:2143)
at sun.print.RasterPrinterJob.print(RasterPrinterJob.java:1480)
at sun.print.RasterPrinterJob.print(RasterPrinterJob.java:1323)
at ARGB.main(ARGB.java:53)
- backported by
-
JDK-8064370 PrinterJob NPE when drawing translucent image with null user clip
-
- Resolved
-
-
JDK-8065485 PrinterJob NPE when drawing translucent image with null user clip
-
- Resolved
-
-
JDK-8070036 PrinterJob NPE when drawing translucent image with null user clip
-
- Resolved
-
-
JDK-8084168 PrinterJob NPE when drawing translucent image with null user clip
-
- Resolved
-
- relates to
-
JDK-8071532 [TEST_BUG] java/awt/print/PrinterJob/ImagePrinting/NullClipARGB.java fails with PrinterException: No print service found
-
- Closed
-