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

ASF subversion and git services commented on PDFBOX-6148:
---------------------------------------------------------

Commit 5041052711ad6d2e9fdb47524c922be78b402aee in pdfbox-jbig2's branch 
refs/heads/master from Tilman Hausherr
[ https://gitbox.apache.org/repos/asf?p=pdfbox-jbig2.git;h=5041052 ]

PDFBOX-6148: respect ImageReader contract by throwing 
IndexOutOfBoundsException; simplify code; remove javadoc for derived methods 
where not different

> JBIG2ImageReader methods break ImageReader contract
> ---------------------------------------------------
>
>                 Key: PDFBOX-6148
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-6148
>             Project: PDFBox
>          Issue Type: Bug
>          Components: JBIG2
>    Affects Versions: 3.0.4 JBIG2
>            Reporter: Tilman Hausherr
>            Assignee: Tilman Hausherr
>            Priority: Minor
>             Fix For: 3.0.5 JBIG2
>
>
> Methods like JBIG2ImageReader.getWidth() should throw an 
> IndexOutOfBoundsException instead of an NPE if the page index is out of 
> bounds.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to