[jira] [Comment Edited] (PDFBOX-4163) Java 11 compile error
[ https://issues.apache.org/jira/browse/PDFBOX-4163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16643782#comment-16643782 ] Tilman Hausherr edited comment on PDFBOX-4163 at 10/9/18 5:31 PM: -- Yes that won't go away, we need DataSource. Get that file here [https://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-java-plat-419418.html#jaf-1.1.1-fcs-oth-JPR] or this way: {code:xml} javax.activation activation 1.1.1 {code} was (Author: tilman): Yes that won't go away. Get that file here https://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-java-plat-419418.html#jaf-1.1.1-fcs-oth-JPR or this way: {code:xml} javax.activation activation 1.1.1 {code} > Java 11 compile error > - > > Key: PDFBOX-4163 > URL: https://issues.apache.org/jira/browse/PDFBOX-4163 > Project: PDFBox > Issue Type: Bug > Components: XmpBox >Reporter: simon steiner >Priority: Major > Labels: jdk11 > > mvn clean install -DskipTests > xmpbox/src/main/java/org/apache/xmpbox/DateConverter.java:[403,34] package > javax.xml.bind does not exist -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org
[jira] [Comment Edited] (PDFBOX-4163) Java 11 compile error
[ https://issues.apache.org/jira/browse/PDFBOX-4163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16643084#comment-16643084 ] simon steiner edited comment on PDFBOX-4163 at 10/9/18 11:42 AM: - If i run {color:#80}new {color}PreflightParser(afile); I get on Java 11, are these javax classes actually needed by pdfbox: java.lang.NoClassDefFoundError: javax/activation/DataSource was (Author: ssteiner1): If i run {color:#80}new {color}PreflightParser(afile); I get on Java 11, are these classes actually needed by pdfbox: java.lang.NoClassDefFoundError: javax/activation/DataSource > Java 11 compile error > - > > Key: PDFBOX-4163 > URL: https://issues.apache.org/jira/browse/PDFBOX-4163 > Project: PDFBox > Issue Type: Bug > Components: XmpBox >Reporter: simon steiner >Priority: Major > Labels: jdk11 > > mvn clean install -DskipTests > xmpbox/src/main/java/org/apache/xmpbox/DateConverter.java:[403,34] package > javax.xml.bind does not exist -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org
[jira] [Comment Edited] (PDFBOX-4163) Java 11 compile error
[ https://issues.apache.org/jira/browse/PDFBOX-4163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16638694#comment-16638694 ] Tilman Hausherr edited comment on PDFBOX-4163 at 10/8/18 3:52 PM: -- re adding jaxb, can't we add it for testing and not delivering it? I.e. tell the people that this is an additional dependency? I've gone back working on this a bit… I didn't get very far, two JPEGFactory tests fail because jdk11 can't save ARGB files as jpeg, I've filed a [bug report|https://bugs.openjdk.java.net/browse/JDK-8211748], although I suspect that this behavior is on purpose as there is no such thing as a transparent jpeg. Update 8.10.2018: Yes it is on purpose :-( was (Author: tilman): re adding jaxb, can't we add it for testing and not delivering it? I.e. tell the people that this is an additional dependency? I've gone back working on this a bit… I didn't get very far, two JPEGFactory tests fail because jdk11 can't save ARGB files as jpeg, I've filed a [bug report|https://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8211748], although I suspect that this behaviour is on purpose as there is no such thing as a transparent jpeg. > Java 11 compile error > - > > Key: PDFBOX-4163 > URL: https://issues.apache.org/jira/browse/PDFBOX-4163 > Project: PDFBox > Issue Type: Bug > Components: XmpBox >Reporter: simon steiner >Priority: Major > Labels: jdk11 > > mvn clean install -DskipTests > xmpbox/src/main/java/org/apache/xmpbox/DateConverter.java:[403,34] package > javax.xml.bind does not exist -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org
[jira] [Comment Edited] (PDFBOX-4163) Java 11 compile error
[ https://issues.apache.org/jira/browse/PDFBOX-4163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16638694#comment-16638694 ] Tilman Hausherr edited comment on PDFBOX-4163 at 10/5/18 6:38 AM: -- re adding jaxb, can't we add it for testing and not delivering it? I.e. tell the people that this is an additional dependency? I've gone back working on this a bit… I didn't get very far, two JPEGFactory tests fail because jdk11 can't save ARGB files as jpeg, I've filed a [bug report|https://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8211748], although I suspect that this behaviour is on purpose as there is no such thing as a transparent jpeg. was (Author: tilman): re adding jaxb, can't we add it for testing and not delivering it? I.e. tell the people that this is an additional dependency? I've gone back working on this a bit… I didn't get very far, two JPEGFactory tests fail because jdk11 can't save ARGB files as jpeg, I've filed a bug report, although I suspect that this is on purpose as there is no such thing as a transparent jpeg. > Java 11 compile error > - > > Key: PDFBOX-4163 > URL: https://issues.apache.org/jira/browse/PDFBOX-4163 > Project: PDFBox > Issue Type: Bug > Components: XmpBox >Reporter: simon steiner >Priority: Major > Labels: jdk11 > > mvn clean install -DskipTests > xmpbox/src/main/java/org/apache/xmpbox/DateConverter.java:[403,34] package > javax.xml.bind does not exist -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org
[jira] [Comment Edited] (PDFBOX-4163) Java 11 compile error
[ https://issues.apache.org/jira/browse/PDFBOX-4163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16492864#comment-16492864 ] Maruan Sahyoun edited comment on PDFBOX-4163 at 5/28/18 6:03 PM: - Does this also mean that one should be able to work on the PDFBox sources (vs just using the jars) using Java 7 or 8 onwards or can we assume that this is done using Java 8 + If the former we need to use reflection (if I'm not mistaken) to hide from {{DateTimeFormatter}} and {{DatatypeConverter}} otherwise we need to only hide {{DateTimeFormatter}} was (Author: msahyoun): Does this also mean that one should be able to work on the PDFBox sources (vs just using the jars) using Java 7 or 8 onwards or can we assume that this is done using Java 8 + If the former we need to use reflection (if I'm not mistaken) to hide from \{{DateTimeFormatter}} and \{{DatatypeConverter}} otherwise we need to only hide \{{ DateTimeFormatter}} > Java 11 compile error > - > > Key: PDFBOX-4163 > URL: https://issues.apache.org/jira/browse/PDFBOX-4163 > Project: PDFBox > Issue Type: Bug > Components: XmpBox >Reporter: simon steiner >Priority: Major > > mvn clean install -DskipTests > xmpbox/src/main/java/org/apache/xmpbox/DateConverter.java:[403,34] package > javax.xml.bind does not exist -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org
[jira] [Comment Edited] (PDFBOX-4163) Java 11 compile error
[ https://issues.apache.org/jira/browse/PDFBOX-4163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16492873#comment-16492873 ] Maruan Sahyoun edited comment on PDFBOX-4163 at 5/28/18 6:12 PM: - Sure - -the only question is if we need to use reflection for both or only for {{DatatypeConverter}} which would be possible if we can assume that working on the PDFBox sources is done using Java 8 or later.- Hiding {{DateTimeFormatter}} for Java 7 is a little more involved as there are other Classes needed which are only available in Java 8+. I'll go and hide both. was (Author: msahyoun): Sure - the only question is if we need to use reflection for both or only for \{{DatatypeConverter}} which would be possible if we can assume that working on the PDFBox sources is done using Java 8 or later. Hiding \{{DateTimeFormatter}} for Java 7 is a little more involved as there are other Classes needed which are only available in Java 8+. > Java 11 compile error > - > > Key: PDFBOX-4163 > URL: https://issues.apache.org/jira/browse/PDFBOX-4163 > Project: PDFBox > Issue Type: Bug > Components: XmpBox >Reporter: simon steiner >Priority: Major > > mvn clean install -DskipTests > xmpbox/src/main/java/org/apache/xmpbox/DateConverter.java:[403,34] package > javax.xml.bind does not exist -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org
[jira] [Comment Edited] (PDFBOX-4163) Java 11 compile error
[ https://issues.apache.org/jira/browse/PDFBOX-4163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16492864#comment-16492864 ] Maruan Sahyoun edited comment on PDFBOX-4163 at 5/28/18 6:03 PM: - Does this also mean that one should be able to work on the PDFBox sources (vs just using the jars) using Java 7 or 8 onwards or can we assume that this is done using Java 8 + If the former we need to use reflection (if I'm not mistaken) to hide from \{{DateTimeFormatter}} and \{{DatatypeConverter}} otherwise we need to only hide \{{ DateTimeFormatter}} was (Author: msahyoun): Does this also mean that one should be able to work on the PDFBox sources (vs just using the jars) using Java 7 or 8 onwards or can we assume that this is done using Java 8 + > Java 11 compile error > - > > Key: PDFBOX-4163 > URL: https://issues.apache.org/jira/browse/PDFBOX-4163 > Project: PDFBox > Issue Type: Bug > Components: XmpBox >Reporter: simon steiner >Priority: Major > > mvn clean install -DskipTests > xmpbox/src/main/java/org/apache/xmpbox/DateConverter.java:[403,34] package > javax.xml.bind does not exist -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org