Bug#874130: FTBFS with Java 9: java.lang.Module collision
Chris West
solo-debianbugs at goeswhere.com
Sun Sep 3 15:11:57 UTC 2017
Source: tycho
Version: 0.25.0
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.
The wiki has some common problems and their solutions:
https://wiki.debian.org/Java/Java9Pitfalls
Build log:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.6.1:compile (default-compile) on project org.eclipse.osgi: Compilation failure: Compilation failure:
[ERROR] /build/tycho-0.25.0/org.eclipse.osgi/src/main/java/org/eclipse/osgi/internal/framework/EquinoxBundle.java:[300,23] reference to Module is ambiguous
[ERROR] both class org.eclipse.osgi.container.Module in org.eclipse.osgi.container and class java.lang.Module in java.lang match
Cheers,
Chris.
More information about the pkg-java-maintainers
mailing list