8021835: Fix for 8016343 will not compile on Windows.
authorjgodinez
Tue, 30 Jul 2013 13:01:44 -0700
changeset 19016 cc6cdbd46536
parent 19015 499b6055bfe6
child 19017 0528383260ef
8021835: Fix for 8016343 will not compile on Windows. Reviewed-by: jchen, prr
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);