Mercurial > hg > icedtea7-forest > jdk
changeset 8943:b163e8d8f24b
6604109, PR3162: javax.print.PrintServiceLookup.lookupPrintServices fails SOMETIMES for Cups
Reviewed-by: bae, prr
author | jgodinez |
---|---|
date | Mon, 24 Oct 2011 09:58:47 -0700 |
parents | a9509bcc915f |
children | 9619ed773fbd |
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 Thu Jul 23 15:55:11 2015 +0300 +++ b/src/solaris/classes/sun/print/UnixPrintServiceLookup.java Mon Oct 24 09:58:47 2011 -0700 @@ -240,7 +240,7 @@ if (printServices == null) { return new PrintService[0]; } else { - return printServices; + return (PrintService[])printServices.clone(); } }