8021835: Fix for 8016343 will not compile on Windows
Reviewed-by: jchen, prr
This commit is contained in:
parent
dd364409e2
commit
95d9a2533a
@ -473,9 +473,6 @@ public class PSPrinterJob extends RasterPrinterJob {
|
|||||||
PrintService pServ = getPrintService();
|
PrintService pServ = getPrintService();
|
||||||
if (pServ != null) {
|
if (pServ != null) {
|
||||||
mDestination = pServ.getName();
|
mDestination = pServ.getName();
|
||||||
if (UnixPrintServiceLookup.isMac()) {
|
|
||||||
mDestination = ((IPPPrintService)pServ).getDest();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -774,9 +771,6 @@ public class PSPrinterJob extends RasterPrinterJob {
|
|||||||
PrintService pServ = getPrintService();
|
PrintService pServ = getPrintService();
|
||||||
if (pServ != null) {
|
if (pServ != null) {
|
||||||
mDestination = pServ.getName();
|
mDestination = pServ.getName();
|
||||||
if (UnixPrintServiceLookup.isMac()) {
|
|
||||||
mDestination = ((IPPPrintService)pServ).getDest();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
PrinterSpooler spooler = new PrinterSpooler();
|
PrinterSpooler spooler = new PrinterSpooler();
|
||||||
java.security.AccessController.doPrivileged(spooler);
|
java.security.AccessController.doPrivileged(spooler);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user