6604109: javax.print.PrintServiceLookup.lookupPrintServices fails SOMETIMES for Cups
Reviewed-by: bae, prr
This commit is contained in:
parent
8863ec439e
commit
51c07ae53a
@ -189,7 +189,7 @@ public class UnixPrintServiceLookup extends PrintServiceLookup
|
||||
if (printServices == null) {
|
||||
return new PrintService[0];
|
||||
} else {
|
||||
return printServices;
|
||||
return (PrintService[])printServices.clone();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user