valerybokov opened a new pull request, #501:
URL: https://github.com/apache/pdfbox/pull/501

   This code doesn't throw an IOException or other error, but the code 
structure is incorrect. It is fragile. We write data to the output stream in 
the extractFromTiff method, close it, and then read the data from outside in 
the createFromRandomAccessImpl method. But the stream is closed. We can do it 
only because this is ByteArrayOutputStream. If we change the stream type then 
there will be an exception.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to