Bug#873643: FTBFS with Java 9: removed class
Chris West
solo-debianbugs at goeswhere.com
Tue Aug 29 18:32:32 UTC 2017
Source: libcodemodel-java
Version: 2.6
Severity: normal
User: debian-java at lists.debian.org
Usertags: default-java9
Tags: fixed-upstream
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
It uses a class which has been "removed" in Java 9.
Upstream removed the reference to this class in 2013:
https://github.com/javaee/jaxb-codemodel/commit/03c826c
Please package a new version, or backport the fix.
Build log:
[ERROR] Exit code: 1 - /build/libcodemodel-java-2.6/codemodel/src/main/java/com/sun/codemodel/util/SingleByteEncoder.java:53: error: package sun.nio.cs is not visible
[ERROR] import sun.nio.cs.Surrogate;
[ERROR] ^
[ERROR] (package sun.nio.cs is declared in module java.base, which does not export it to the unnamed module)
Cheers,
Chris.
More information about the pkg-java-maintainers
mailing list