[jira] [Commented] (PDFBOX-4163) Java 11 compile error
[ https://issues.apache.org/jira/browse/PDFBOX-4163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16657832#comment-16657832 ] ASF subversion and git services commented on PDFBOX-4163: - Commit 1844413 from til...@apache.org in branch 'pdfbox/branches/2.0' [ https://svn.apache.org/r1844413 ] PDFBOX-4163: increase plugin version for jdk11 > 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] [Commented] (PDFBOX-4163) Java 11 compile error
[ https://issues.apache.org/jira/browse/PDFBOX-4163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16657826#comment-16657826 ] ASF subversion and git services commented on PDFBOX-4163: - Commit 1844410 from til...@apache.org in branch 'pdfbox/branches/2.0' [ https://svn.apache.org/r1844410 ] PDFBOX-4163: add support for jdk11 > 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] [Commented] (PDFBOX-4163) Java 11 compile error
[ https://issues.apache.org/jira/browse/PDFBOX-4163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16648968#comment-16648968 ] ASF subversion and git services commented on PDFBOX-4163: - Commit 1843763 from til...@apache.org in branch 'pdfbox/trunk' [ https://svn.apache.org/r1843763 ] PDFBOX-4163: use current jaxb-api version > 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] [Commented] (PDFBOX-4163) Java 11 compile error
[ https://issues.apache.org/jira/browse/PDFBOX-4163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16648961#comment-16648961 ] ASF subversion and git services commented on PDFBOX-4163: - Commit 1843760 from til...@apache.org in branch 'pdfbox/trunk' [ https://svn.apache.org/r1843760 ] PDFBOX-4163: mention jdk11 in comment > 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] [Commented] (PDFBOX-4163) Java 11 compile error
[ https://issues.apache.org/jira/browse/PDFBOX-4163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16648960#comment-16648960 ] ASF subversion and git services commented on PDFBOX-4163: - Commit 1843759 from til...@apache.org in branch 'pdfbox/branches/2.0' [ https://svn.apache.org/r1843759 ] PDFBOX-4163: mention jdk11 in comment > 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] [Commented] (PDFBOX-4163) Java 11 compile error
[ https://issues.apache.org/jira/browse/PDFBOX-4163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16646939#comment-16646939 ] Tilman Hausherr commented on PDFBOX-4163: - PDFBOX-4340 created. > 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] [Commented] (PDFBOX-4163) Java 11 compile error
[ https://issues.apache.org/jira/browse/PDFBOX-4163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16645434#comment-16645434 ] simon steiner commented on PDFBOX-4163: --- Its not a problem but just good to understand if the jar is needed or can we slim down the software by removing it > 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] [Commented] (PDFBOX-4163) Java 11 compile error
[ https://issues.apache.org/jira/browse/PDFBOX-4163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16645360#comment-16645360 ] Tilman Hausherr commented on PDFBOX-4163: - In theory we could remove it and use ordinary streams, but this can't be done for the 2.0 branch because it would be a breaking change. Why is this a problem for you, while using jaxb wasn't a problem? > 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] [Commented] (PDFBOX-4163) Java 11 compile error
[ https://issues.apache.org/jira/browse/PDFBOX-4163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16644805#comment-16644805 ] simon steiner commented on PDFBOX-4163: --- Can this dependency be removed, it there some functionality that is needed from it > 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] [Commented] (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 commented on PDFBOX-4163: - 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] [Commented] (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 commented on PDFBOX-4163: --- 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] [Commented] (PDFBOX-4163) Java 11 compile error
[ https://issues.apache.org/jira/browse/PDFBOX-4163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16642857#comment-16642857 ] Tilman Hausherr commented on PDFBOX-4163: - [~ssteiner1] were you testing with the trunk or with the 2.0 branch? If you had tested with the trunk, please test again. > 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] [Commented] (PDFBOX-4163) Java 11 compile error
[ https://issues.apache.org/jira/browse/PDFBOX-4163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16642084#comment-16642084 ] ASF subversion and git services commented on PDFBOX-4163: - Commit 1843170 from til...@apache.org in branch 'pdfbox/trunk' [ https://svn.apache.org/r1843170 ] PDFBOX-4163: set scope to provided, "test" didn't work > 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] [Commented] (PDFBOX-4163) Java 11 compile error
[ https://issues.apache.org/jira/browse/PDFBOX-4163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16642079#comment-16642079 ] Tilman Hausherr commented on PDFBOX-4163: - That didn't work :( It had worked this morning but there I had set "test" scope only in the parent pom.xml, thinking it would be passed down, this evening I had set it in the children too for clarity. But now I read that it is not passed down. I should use "*provided*". > 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] [Commented] (PDFBOX-4163) Java 11 compile error
[ https://issues.apache.org/jira/browse/PDFBOX-4163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16642069#comment-16642069 ] ASF subversion and git services commented on PDFBOX-4163: - Commit 1843168 from til...@apache.org in branch 'pdfbox/trunk' [ https://svn.apache.org/r1843168 ] PDFBOX-4163: set scope to test; add dependencies for example subproject > 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] [Commented] (PDFBOX-4163) Java 11 compile error
[ https://issues.apache.org/jira/browse/PDFBOX-4163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16642062#comment-16642062 ] ASF subversion and git services commented on PDFBOX-4163: - Commit 1843167 from til...@apache.org in branch 'pdfbox/branches/2.0' [ https://svn.apache.org/r1843167 ] PDFBOX-4163: save ARGB images into jpeg only when supported; optimize writing > 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] [Commented] (PDFBOX-4163) Java 11 compile error
[ https://issues.apache.org/jira/browse/PDFBOX-4163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16642061#comment-16642061 ] ASF subversion and git services commented on PDFBOX-4163: - Commit 1843166 from til...@apache.org in branch 'pdfbox/trunk' [ https://svn.apache.org/r1843166 ] PDFBOX-4163: save ARGB images into jpeg only when supported; optimize writing > 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] [Commented] (PDFBOX-4163) Java 11 compile error
[ https://issues.apache.org/jira/browse/PDFBOX-4163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16641349#comment-16641349 ] Andreas Lehmkühler commented on PDFBOX-4163: {quote} re adding jaxb, can't we add it for testing and not delivering it? I {quote} It isn't an issue if it's limited to tests. We have to mark it as test only in the pom so that it is clear for the user > 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] [Commented] (PDFBOX-4163) Java 11 compile error
[ https://issues.apache.org/jira/browse/PDFBOX-4163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16641194#comment-16641194 ] ASF subversion and git services commented on PDFBOX-4163: - Commit 1843079 from til...@apache.org in branch 'pdfbox/trunk' [ https://svn.apache.org/r1843079 ] PDFBOX-4163: allow openjdk11 > 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] [Commented] (PDFBOX-4163) Java 11 compile error
[ https://issues.apache.org/jira/browse/PDFBOX-4163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16640780#comment-16640780 ] Tilman Hausherr commented on PDFBOX-4163: - It builds now and the tests work too. I've set up a [jdk11 project on Jenkins|https://builds.apache.org/view/P/view/PDFBox/job/PDFBox-Trunk-jdk11/] (it's the old jdk10 project, renamed and adjusted). The built jar files (when run locally) don't have the modules I have added, so we should be OK with the license. The two missing modules must be added to the class path when running preflight-app from the command line, by using the java syntax with a class name and then using the main jar and the additional jars in the class path parameter. I copy all jar files into the lib subdirectory and then call {noformat} java -cp "preflight-app-3.0.0-SNAPSHOT;lib/*" org.apache.pdfbox.preflight.Validator_A1b filename.pdf {noformat} I haven't made any changes for the 2.0 build. I'm not a maven expert so I prefer to wait a bit for any feedback. > 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] [Commented] (PDFBOX-4163) Java 11 compile error
[ https://issues.apache.org/jira/browse/PDFBOX-4163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16640764#comment-16640764 ] ASF subversion and git services commented on PDFBOX-4163: - Commit 1843021 from til...@apache.org in branch 'pdfbox/trunk' [ https://svn.apache.org/r1843021 ] PDFBOX-4163: temporarly saving ARGB images into jpeg on jdk11 > 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] [Commented] (PDFBOX-4163) Java 11 compile error
[ https://issues.apache.org/jira/browse/PDFBOX-4163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16640750#comment-16640750 ] ASF subversion and git services commented on PDFBOX-4163: - Commit 1843018 from til...@apache.org in branch 'pdfbox/trunk' [ https://svn.apache.org/r1843018 ] PDFBOX-4163: add support for jdk11 > 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] [Commented] (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 commented on PDFBOX-4163: - 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 > > 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] [Commented] (PDFBOX-4163) Java 11 compile error
[ https://issues.apache.org/jira/browse/PDFBOX-4163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16603268#comment-16603268 ] ASF subversion and git services commented on PDFBOX-4163: - Commit 1840049 from til...@apache.org in branch 'pdfbox/branches/2.0' [ https://svn.apache.org/r1840049 ] PDFBOX-4163: remove javax.xml.bind.DatatypeConverter.printHexBinary() and use org.apache.pdfbox.util.Hex.getString() instead > 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] [Commented] (PDFBOX-4163) Java 11 compile error
[ https://issues.apache.org/jira/browse/PDFBOX-4163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16603267#comment-16603267 ] ASF subversion and git services commented on PDFBOX-4163: - Commit 1840048 from til...@apache.org in branch 'pdfbox/trunk' [ https://svn.apache.org/r1840048 ] PDFBOX-4163: remove javax.xml.bind.DatatypeConverter.printHexBinary() and use org.apache.pdfbox.util.Hex.getString() instead > 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] [Commented] (PDFBOX-4163) Java 11 compile error
[ https://issues.apache.org/jira/browse/PDFBOX-4163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16601912#comment-16601912 ] simon steiner commented on PDFBOX-4163: --- Java 11 comes out this month > 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] [Commented] (PDFBOX-4163) Java 11 compile error
[ https://issues.apache.org/jira/browse/PDFBOX-4163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16492867#comment-16492867 ] Tilman Hausherr commented on PDFBOX-4163: - My understanding was that we use reflection. It's a bit ugly, but I don't mind as long it isn't all over the place. > 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] [Commented] (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 commented on PDFBOX-4163: 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
[jira] [Commented] (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 commented on PDFBOX-4163: 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] [Commented] (PDFBOX-4163) Java 11 compile error
[ https://issues.apache.org/jira/browse/PDFBOX-4163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16492854#comment-16492854 ] Tilman Hausherr commented on PDFBOX-4163: - I prefer loading the class. Forcing jdk8 will make many people unhappy. > 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] [Commented] (PDFBOX-4163) Java 11 compile error
[ https://issues.apache.org/jira/browse/PDFBOX-4163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16492701#comment-16492701 ] Maruan Sahyoun commented on PDFBOX-4163: With Java 8 onwards we can use {{java.time.format.DateTimeFormatter}} So we could either drop Java 7 support or load the available class at runtime trying {{DateTimeFormatter}} first and {{DatatypeConverter}} if that fails. WDYT? > 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] [Commented] (PDFBOX-4163) Java 11 compile error
[ https://issues.apache.org/jira/browse/PDFBOX-4163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16481936#comment-16481936 ] Andreas Lehmkühler commented on PDFBOX-4163: That [dependency|https://mvnrepository.com/artifact/javax.xml.bind/jaxb-api/2.3.0] is problematic due to its GPL/CDDL license > Java 11 compile error > - > > Key: PDFBOX-4163 > URL: https://issues.apache.org/jira/browse/PDFBOX-4163 > Project: PDFBox > Issue Type: Bug >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] [Commented] (PDFBOX-4163) Java 11 compile error
[ https://issues.apache.org/jira/browse/PDFBOX-4163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16407868#comment-16407868 ] Tilman Hausherr commented on PDFBOX-4163: - Please retry with the {{-Pjdk9}} option. > Java 11 compile error > - > > Key: PDFBOX-4163 > URL: https://issues.apache.org/jira/browse/PDFBOX-4163 > Project: PDFBox > Issue Type: Bug >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] [Commented] (PDFBOX-4163) Java 11 compile error
[ https://issues.apache.org/jira/browse/PDFBOX-4163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16407794#comment-16407794 ] simon steiner commented on PDFBOX-4163: --- Maybe you add jaxb-api-2.3.0.jar as dependency? http://openjdk.java.net/jeps/320 > Java 11 compile error > - > > Key: PDFBOX-4163 > URL: https://issues.apache.org/jira/browse/PDFBOX-4163 > Project: PDFBox > Issue Type: Bug >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] [Commented] (PDFBOX-4163) Java 11 compile error
[ https://issues.apache.org/jira/browse/PDFBOX-4163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16407787#comment-16407787 ] Maruan Sahyoun commented on PDFBOX-4163: [~ssteiner1] Thanks for the notice. The cause being the removal of javax.xml.bind in Java 11. Would you have a suggestion how to handle that? > Java 11 compile error > - > > Key: PDFBOX-4163 > URL: https://issues.apache.org/jira/browse/PDFBOX-4163 > Project: PDFBox > Issue Type: Bug >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