Bug#875365: FTBFS with Java 9: sun.misc

2018-03-07 Thread Emmanuel Bourg
Control: tag -1 + wontfix

glassfish will be removed once the remaining rdeps are updated (see
#882489 and #884186).

__
This is the maintainer address of Debian's Java team
. 
Please use
debian-j...@lists.debian.org for discussions and questions.


Bug#875365: FTBFS with Java 9: sun.misc

2017-09-10 Thread Chris West
Source: glassfish
Version: 2.1.1-b31g+dfsg1
Severity: normal
User: debian-j...@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.

__
This is the maintainer address of Debian's Java team
. 
Please use
debian-j...@lists.debian.org for discussions and questions.