[
https://issues.apache.org/jira/browse/PDFBOX-6148?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tilman Hausherr resolved PDFBOX-6148.
-------------------------------------
Resolution: Fixed
> 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]