Bug#875364: FTBFS with Java 9: overrides core packages

Chris West debian at fau.xxx
Sun Sep 10 21:09:40 UTC 2017


Source: geronimo-jta-1.1-spec
Version: 1.1.1
Severity: normal
User: debian-java at lists.debian.org
Usertags: default-java9

This package fails to build with default-jdk pointing to openjdk-9-jdk.
Please fix it, so that we can start the transition to Java 9.
The wiki has some common problems and their solutions:
https://wiki.debian.org/Java/Java9Pitfalls

Attempting to override core packages has been banned by javadoc,
apparently.

Build log:

ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.10.4:jar (default-cli) on project geronimo-jta_1.1_spec: MavenReportException: Error while generating Javadoc: 
[ERROR] Exit code: 1 - /build/geronimo-jta-1.1-spec-1.1.1/src/main/java/javax/transaction/xa/XAException.java:26: error: package exists in another module: java.sql
[ERROR] package javax.transaction.xa;
[ERROR] ^
[ERROR] /build/geronimo-jta-1.1-spec-1.1.1/src/main/java/javax/transaction/xa/Xid.java:26: error: package exists in another module: java.sql
[ERROR] package javax.transaction.xa;
[ERROR] ^
[ERROR] /build/geronimo-jta-1.1-spec-1.1.1/src/main/java/javax/transaction/xa/XAResource.java:26: error: package exists in another module: java.sql
[ERROR] package javax.transaction.xa;
[ERROR] ^
[ERROR] 
[ERROR] Command line was: /usr/lib/jvm/java-9-openjdk-amd64/bin/javadoc @options @packages
[ERROR] 
[ERROR] Refer to the generated Javadoc files in '/build/geronimo-jta-1.1-spec-1.1.1/target/apidocs' dir.



Cheers,
Chris.



More information about the pkg-java-maintainers mailing list