[ 
https://issues.apache.org/jira/browse/PDFBOX-4118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16374614#comment-16374614
 ] 

Tilman Hausherr commented on PDFBOX-4118:
-----------------------------------------

Oh-oh... the new debug logs in the 3 shading classes will always be called, not 
just if something went wrong. The exception is a normal thing there. The 
MemoryCacheImageInputStream class methods doen't return -1 for eof when 
reading, they throw an exception. And there is no length parameter that would 
tell in advance how many triangles / patches are to be found. So the new log 
output would 1) make things slower, 2) confuse people who do debugging 3) 
clutter output.

> Retain Exception in log output 
> -------------------------------
>
>                 Key: PDFBOX-4118
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4118
>             Project: PDFBox
>          Issue Type: Sub-task
>    Affects Versions: 3.0.0 PDFBox
>            Reporter: Maruan Sahyoun
>            Assignee: Maruan Sahyoun
>            Priority: Major
>             Fix For: 3.0.0 PDFBox
>
>
> This task is to track resolving the message.
> {quote}
> Either log or rethrow this exception.
> {quote}
> I'll do that for trunk only to limit the time needed.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org

Reply via email to