Source: ow-util-ant-tasks
Version: 1.3.2
Severity: normal
User: debian-j...@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

This is probably due to 1.6 related generics changes,
or because an interface gained a new method. In either case,
the code needs fixing.

Build log:

    [javac] 
/build/ow-util-ant-tasks-1.3.2/src/org/objectweb/util/ant/MultipleCopy.java:80: 
error: no suitable method found for put(String,String)
    [javac]                                     
fileCopyMap.put(file.getAbsolutePath(), destFile.getAbsolutePath());
    [javac]                                                ^
    [javac]     method Map.put(String,String[]) is not applicable
    [javac]       (argument mismatch; String cannot be converted to String[])
    [javac]     method Dictionary.put(String,String[]) is not applicable
    [javac]       (argument mismatch; String cannot be converted to String[])
    [javac]     method Hashtable.put(String,String[]) is not applicable
    [javac]       (argument mismatch; String cannot be converted to String[])
    [javac] 
/build/ow-util-ant-tasks-1.3.2/src/org/objectweb/util/ant/MultipleCopy.java:88: 
error: no suitable method found for put(String,String)
    [javac]                                       
fileCopyMap.put(file.getAbsolutePath(), destFile.getAbsolutePath());
    [javac]                                                  ^
    [javac]     method Map.put(String,String[]) is not applicable
    [javac]       (argument mismatch; String cannot be converted to String[])
    [javac]     method Dictionary.put(String,String[]) is not applicable
    [javac]       (argument mismatch; String cannot be converted to String[])
    [javac]     method Hashtable.put(String,String[]) is not applicable
    [javac]       (argument mismatch; String cannot be converted to String[])
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 2 errors
    [javac] 9 warnings



Cheers,
Chris.

__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to