[ https://issues.apache.org/jira/browse/PDFBOX-5086?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17282572#comment-17282572 ]
Tilman Hausherr commented on PDFBOX-5086: ----------------------------------------- First one no. Second one would make sense, but it is different than what java does - FileOutputStream doesn't care if the file exists. Third one, maybe with a warning? "You are overwriting an existing file, this will produce a corrupted file if you're also reading from it". > DataFormatException after saving > -------------------------------- > > Key: PDFBOX-5086 > URL: https://issues.apache.org/jira/browse/PDFBOX-5086 > Project: PDFBox > Issue Type: Bug > Components: Utilities > Affects Versions: 3.0.0 PDFBox > Reporter: Tilman Hausherr > Assignee: Andreas Lehmkühler > Priority: Major > Fix For: 3.0.0 PDFBox > > Attachments: SalesUseTaxLA_R-5402_20060705.pdf, > SalesUseTaxLA_R-5402_20060705_BAD.pdf > > > Attached file gets corrupted when saved in 3.0.0, but not in 2.0.*. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org