changeset 19016:cc6cdbd46536

8021835: Fix for 8016343 will not compile on Windows. Reviewed-by: jchen, prr
author jgodinez
date Tue, 30 Jul 2013 13:01:44 -0700
parents 499b6055bfe6
children 0528383260ef
files jdk/src/share/classes/sun/print/PSPrinterJob.java
diffstat 1 files changed, 0 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- 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);