|
|
# **Printer**
|
|
|
|
|
|
*Andrey Ruzhanskiy*
|
|
|
## Not interruptible printjobs
|
|
|
As the `javax.print` library has major shortcomings if using the byte stream mode, it currently throws a `NullPointerException` if someone tries to interupt it via java code (the spoolersystem is not affected). To ensure it is not a bug in our system, i investigated this further and looked up the implementation of `javax.print'. I came to the conclusion that the bug is located in the library. I opened a Bug report in the oracle bug database, which confirmed my assumption:
|
|
|
As the `javax.print` library has major shortcomings if using the byte stream mode, it currently throws a `NullPointerException` if someone tries to interupt it via java code (the spoolersystem is not affected). To ensure it is not a bug in our system, i investigated this further and looked up the implementation of `javax.print`. I came to the conclusion that the bug is located in the library. I opened a Bug report in the oracle bug database, which confirmed my assumption:
|
|
|
|
|
|
https://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8230640
|
|
|
|
... | ... | |