Bug#873222: FTBFS with Java 9 due to Terrible Swing

Chris West solo-debianbugs at goeswhere.com
Fri Aug 25 15:39:03 UTC 2017


Source: jsymphonic
Version: 0.3.0.Ode.To.Freedom+svn387
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.

The awful changes to generics in a couple of Swing classes seem to be
at fault. This probably requires pretty significant code changes to fix.
I recommend taking it up with upstream. See the Swing section on this wiki
page:
https://wiki.debian.org/Java/Java9Pitfalls

Build log:
    [javac] /build/jsymphonic-0.3.0.Ode.To.Freedom+svn387/src/org/jaudiotagger/audio/mp4/Mp4AtomTree.java:200: error: incompatible types: Enumeration<TreeNode> cannot be converted to Enumeration<DefaultMutableTreeNode>
    [javac]         Enumeration<DefaultMutableTreeNode> e = rootNode.preorderEnumeration();

Cheers,
Chris.



More information about the pkg-java-maintainers mailing list