changeset 4641:a7a001378444

6604109: javax.print.PrintServiceLookup.lookupPrintServices fails SOMETIMES for Cups Reviewed-by: bae, prr
author jgodinez
date Mon, 24 Oct 2011 09:58:47 -0700
parents 7746eb8c610b
children 8f9b0629d088 9de1dbf8c9be
files src/solaris/classes/sun/print/UnixPrintServiceLookup.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/solaris/classes/sun/print/UnixPrintServiceLookup.java	Mon Oct 17 15:20:51 2011 +0400
+++ b/src/solaris/classes/sun/print/UnixPrintServiceLookup.java	Mon Oct 24 09:58:47 2011 -0700
@@ -189,7 +189,7 @@
         if (printServices == null) {
             return new PrintService[0];
         } else {
-            return printServices;
+            return (PrintService[])printServices.clone();
         }
     }