From 95d9a2533a14d3dd762d3677f0f5ba0577b75ed3 Mon Sep 17 00:00:00 2001 From: Jennifer Godinez Date: Tue, 30 Jul 2013 13:01:44 -0700 Subject: [PATCH] 8021835: Fix for 8016343 will not compile on Windows Reviewed-by: jchen, prr --- jdk/src/share/classes/sun/print/PSPrinterJob.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/jdk/src/share/classes/sun/print/PSPrinterJob.java b/jdk/src/share/classes/sun/print/PSPrinterJob.java index f3bd0295dc6..c4bcc23aa02 100644 --- a/jdk/src/share/classes/sun/print/PSPrinterJob.java +++ b/jdk/src/share/classes/sun/print/PSPrinterJob.java @@ -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);