[
https://issues.apache.org/jira/browse/PDFBOX-3467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15426805#comment-15426805
]
John Hewson edited comment on PDFBOX-3467 at 8/18/16 4:58 PM:
--------------------------------------------------------------
Ah, sorry I was absent-mindedly running with {{-D skipTests}} set!
was (Author: jahewson):
Ah, sorry I was absent-mindedly running with {-D skipTests} set!
> 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
> Fix For: 2.1.0
>
>
> 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]