Bug#874132: FTBFS with Java 9: import sun.misc..

Chris West solo-debianbugs at goeswhere.com
Sun Sep 3 15:16:03 UTC 2017


Source: triplea
Version: 1.8.0.9+dfsg
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

sun.misc is gone. The class using it seems to be gone from upstream. I'm
pretty sure I raised a bug about this somewhere but can't find it. Sorry
if this is a duplicate.

Build log:

    [javac] /build/triplea-1.8.0.9+dfsg/src/games/strategy/util/ClassLoaderUtil.java:16: error: cannot find symbol
    [javac] import sun.misc.URLClassPath;
    [javac]                ^
    [javac]   symbol:   class URLClassPath
    [javac]   location: package sun.misc



Cheers,
Chris.



More information about the pkg-java-maintainers mailing list