Bug#874651: FTBFS with Java 9: javax.rmi
Chris West
solo-debianbugs at goeswhere.com
Fri Sep 8 13:06:32 UTC 2017
Source: libquartz-java
Version: 1:1.8.6-4
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
javax.rmi has moved into a module, which is currently a poor state of
affairs. See the javax.activation section on the wiki for more details.
Build log:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.10.4:jar (default-cli) on project quartz: MavenReportException: Error while generating Javadoc:
[ERROR] Exit code: 1 - /build/libquartz-java-1.8.6/quartz/src/main/java/org/quartz/jobs/ee/ejb/EJBInvokerJob.java:31: error: package javax.rmi is not visible
[ERROR] import javax.rmi.PortableRemoteObject;
[ERROR] ^
[ERROR] (package javax.rmi is declared in module java.corba, which is not in the module graph)
[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/libquartz-java-1.8.6/quartz/target/apidocs' dir.
Cheers,
Chris.
More information about the pkg-java-maintainers
mailing list