valerybokov commented on pull request #107: URL: https://github.com/apache/pdfbox/pull/107#issuecomment-797325489
A bit strange implementation of COSArray.getInt (...) and others. If the index is larger than the size of the array, then defaultValue will be returned instead of throwing an IndexOutOfRangeException. Maybe defaultValue should be returned if obj is not COSNumber? ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org