Bug#875365: FTBFS with Java 9: sun.misc
Chris West
debian at fau.xxx
Sun Sep 10 21:16:01 UTC 2017
Source: glassfish
Version: 2.1.1-b31g+dfsg1
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
This is probably only the first problem; glassfish is a complex piece of
software, and the version we have here is horribly outdated; 5.0 is
about to be released.
The offending class is fixed upstream, but I can't trace the history to
when it was actually fixed.
Build log:
[javac] /build/glassfish-2.1.1-b31g+dfsg1/appserv-api/src/java/com/sun/appserv/management/client/prefs/MemoryHashLoginInfoStore.java:53: error: cannot find symbol
[javac] import sun.misc.BASE64Decoder;
[javac] ^
[javac] symbol: class BASE64Decoder
[javac] location: package sun.misc
[javac] /build/glassfish-2.1.1-b31g+dfsg1/appserv-api/src/java/com/sun/appserv/management/client/prefs/MemoryHashLoginInfoStore.java:54: error: cannot find symbol
[javac] import sun.misc.BASE64Encoder;
[javac] ^
Cheers,
Chris.
More information about the pkg-java-maintainers
mailing list