8021835: Fix for 8016343 will not compile on Windows

Reviewed-by: jchen, prr
This commit is contained in:
Jennifer Godinez 2013-07-30 13:01:44 -07:00
parent dd364409e2
commit 95d9a2533a

View File

@ -473,9 +473,6 @@ public class PSPrinterJob extends RasterPrinterJob {
PrintService pServ = getPrintService();
if (pServ != null) {
mDestination = pServ.getName();
if (UnixPrintServiceLookup.isMac()) {
mDestination = ((IPPPrintService)pServ).getDest();
}
}
}
}
@ -774,9 +771,6 @@ public class PSPrinterJob extends RasterPrinterJob {
PrintService pServ = getPrintService();
if (pServ != null) {
mDestination = pServ.getName();
if (UnixPrintServiceLookup.isMac()) {
mDestination = ((IPPPrintService)pServ).getDest();
}
}
PrinterSpooler spooler = new PrinterSpooler();
java.security.AccessController.doPrivileged(spooler);