Bug#874640: FTBFS with Java 9: sun.swing..

Chris West solo-debianbugs at goeswhere.com
Fri Sep 8 11:22:37 UTC 2017


Source: libjide-oss-java
Version: 3.6.18+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.
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 seems to have been fixed upstream, but not released:
https://github.com/jidesoft/jide-oss/commit/afac15d1eb62308d535abeb142cdb1e2df1eab39#diff-b943f8a80f4d59548be8448fddeebf78

Build log:

compile:
    [mkdir] Created dir: /build/libjide-oss-java-3.6.18+dfsg/classes
    [javac] /build/libjide-oss-java-3.6.18+dfsg/build.xml:54: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Use of a source 1.5 is no longer supported, switching to 1.6
    [javac] Use of a target 1.5 is no longer supported, switching to 1.6
    [javac] Compiling 496 source files to /build/libjide-oss-java-3.6.18+dfsg/classes
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] warning: [options] source value 1.6 is obsolete and will be removed in a future release
    [javac] warning: [options] target value 1.6 is obsolete and will be removed in a future release
    [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
    [javac] /build/libjide-oss-java-3.6.18+dfsg/src/com/jidesoft/plaf/basic/BasicPainter.java:11: error: cannot find symbol
    [javac] import sun.swing.plaf.synth.SynthIcon;
    [javac]                            ^
    [javac]   symbol:   class SynthIcon
    [javac]   location: package sun.swing.plaf.synth



Cheers,
Chris.



More information about the pkg-java-maintainers mailing list