[OpenJDK 2D-Dev] JDK-6870661 : Setting a custom PrintService on a PrinterJob leads to a PrinterException

Patrick Reinhart patrick at reini.net
Tue Jun 11 20:32:24 UTC 2013

Hi Phil,

I just started looking into this Bug and have already written a test to 
prove a later fix though. As it seems that there missing two checks make 
sure, that the actual PrintService is a instance of W32PrintService  
before passing it to the native method setNativePrintService()

Fix proposal for this bug is as follows:


Can you take a look into it and give me some feedback on it. 
Unfortunally I did not get the Jtreg test running under Windows 
(executing it as plain Java application at least does work)



More information about the 2d-dev mailing list