[
https://issues.apache.org/jira/browse/PDFBOX-2234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14073497#comment-14073497
]
Tilman Hausherr commented on PDFBOX-2234:
-----------------------------------------
Your use of LinkedHashMap instead of HashMap means that the sequence in
keySet() is important, the same as what I noticed in PDFBOX-2005.
I replaced HashMap with LinkedHashMap in rev 1613242 for the trunk and rev
1613243 for the 1.8 branch.
Not setting to resolved yet - [~gbailleul], any idea why the sequence is
important?
> [PATCH] Invalid Color space preflight error on Java 8
> -----------------------------------------------------
>
> Key: PDFBOX-2234
> URL: https://issues.apache.org/jira/browse/PDFBOX-2234
> Project: PDFBox
> Issue Type: Bug
> Components: Preflight
> Affects Versions: 2.0.0
> Reporter: simon steiner
> Labels: JDK1.8
> Attachments: expected.pdf, pdfavalidationjava8.patch
>
>
> java -cp
> pdf-box-svn/preflight/target/preflight-2.0.0-SNAPSHOT.jar:pdf-box-svn/app/target/pdfbox-app-2.0.0-SNAPSHOT.jar:pdf-box-svn/xmpbox/target/xmpbox-2.0.0-SNAPSHOT.jar:lib/commons-io-1.3.1.jar
> org.apache.pdfbox.preflight.Validator_A1b expected.pdf
> Java 7:
> The file expected.pdf is a valid PDF/A-1b file
> Java 8:
> The fileexpected.pdf is not valid, error(s) :
> 2.4.3 : Invalid Color space, The operator "G" can't be used without Color
> Profile
--
This message was sent by Atlassian JIRA
(v6.2#6252)