John Hewson created PDFBOX-3467:
-----------------------------------
Summary: PDPage.getAnnotations() modifies the PDF
Key: PDFBOX-3467
URL: https://issues.apache.org/jira/browse/PDFBOX-3467
Project: PDFBox
Issue Type: Bug
Components: PDModel
Affects Versions: 2.0.2
Reporter: John Hewson
Assignee: John Hewson
I stumbled across this bug while using PDFDebugger.
PDPage.getAnnotations() writes to the Page's COSDictionary, adding a new Annots
entry if it is missing.
This violates one of the rules which we introduced for 2.0, that reading from a
PDF file should not result in the file's COS model being modified.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]