Too many open files exception ignored by UnixPrintServiceLookup.execCmd()

cresley battlelite cresley_battlelite at
Wed Aug 22 05:28:12 UTC 2007

When I request a javax.print.PrintJob to print on Unix, the PrintService checks to see if the printer is accepting jobs and can return a false negative if there are too many open files because the following Exception is ignored (see j2se/src/solaris/classes/sun/print/ Too many open filesCaused by: Too many open files
I would have preferred a PrintException 
        } catch (PrivilegedActionException e) {        }
should change to (or similar) 
        } catch (PrivilegedActionException e) {                throw new PrintException("Unable to determine if printer is accepting jobs - " + e.getMessage());
Is there a better area than discuss to discuss such things?
Connect to the next generation of MSN Messenger
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the discuss mailing list