Source: mobile-atlas-creator
Version: 1.9.16+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.

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] warning: [options] To suppress warnings about obsolete options, use 
-Xlint:-options.
    [javac] 
/build/mobile-atlas-creator-1.9.16+dfsg1/src/main/java/mobac/program/model/Atlas.java:42:
 error: Atlas is not abstract and does not override abstract method children() 
in TreeNode
    [javac] public class Atlas implements AtlasInterface, ToolTipProvider, 
TreeNode {
    [javac]        ^
    [javac] 
/build/mobile-atlas-creator-1.9.16+dfsg1/src/main/java/mobac/program/model/Atlas.java:178:
 error: children() in Atlas cannot implement children() in TreeNode
    [javac]     public Enumeration<?> children() {
    [javac]                           ^
    [javac]   return type Enumeration<?> is not compatible with Enumeration<? 
extends TreeNode>
    [javac] 
/build/mobile-atlas-creator-1.9.16+dfsg1/src/main/java/mobac/program/model/Map.java:48:
 error: Map is not abstract and does not override abstract method children() in 
TreeNode
    [javac] public class Map implements MapInterface, ToolTipProvider, 
CapabilityDeletable, TreeNode, DownloadableElement {
    [javac]        ^


Cheers,
Chris.

Reply via email to