# HG changeset patch # User jgodinez # Date 1375214504 25200 # Node ID cc6cdbd46536e31a293aa1a4cef0e63512be03e9 # Parent 499b6055bfe6612a0e82e8965a9ca9f26cd5cc9f 8021835: Fix for 8016343 will not compile on Windows. Reviewed-by: jchen, prr diff -r 499b6055bfe6 -r cc6cdbd46536 jdk/src/share/classes/sun/print/PSPrinterJob.java --- a/jdk/src/share/classes/sun/print/PSPrinterJob.java Fri Jul 26 17:12:05 2013 -0700 +++ b/jdk/src/share/classes/sun/print/PSPrinterJob.java Tue Jul 30 13:01:44 2013 -0700 @@ -473,9 +473,6 @@ PrintService pServ = getPrintService(); if (pServ != null) { mDestination = pServ.getName(); - if (UnixPrintServiceLookup.isMac()) { - mDestination = ((IPPPrintService)pServ).getDest(); - } } } } @@ -774,9 +771,6 @@ 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);