[Debichem-devel] Bug#875585: FTBFS with Java 9: AWT api changes

Chris West debian at fau.xxx
Tue Sep 12 12:48:11 UTC 2017


Source: jmol
Version: 14.6.4+2016.11.05+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

Build log:

cd JSpecView && ant -Dnetscape.jar.path=/usr/share/icedtea-web/plugin.jar -DPrivate.propertyFile=none make-application-jar javadoc
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8 
Buildfile: /build/jmol-14.6.4+2016.11.05+dfsg1/JSpecView/build.xml
    [input] skipping input as property Private.propertyFile has already been set.

build:
     [echo] copying files from ../Jmol/src/org/jmol
     [copy] Copying 5 files to /build/jmol-14.6.4+2016.11.05+dfsg1/JSpecView/src/org/jmol
     [echo] getting application icons and resources
    [mkdir] Created dir: /build/jmol-14.6.4+2016.11.05+dfsg1/JSpecView/bin
    [javac] Compiling 86 source files to /build/jmol-14.6.4+2016.11.05+dfsg1/JSpecView/bin
    [javac] /build/jmol-14.6.4+2016.11.05+dfsg1/JSpecView/src/jspecview/application/AwtTreeNode.java:9: error: AwtTreeNode is not abstract and does not override abstract method children() in JSVTreeNode
    [javac] public class AwtTreeNode extends
    [javac]        ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] 1 error

BUILD FAILED
/build/jmol-14.6.4+2016.11.05+dfsg1/JSpecView/build.xml:115: Compile failed; see the compiler error output for details.



Cheers,
Chris.



More information about the Debichem-devel mailing list