Source: bnd
Version: 2.4.1
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

Using _ as an identifier is not allowed at -source 9; use older -source
or fix the code.

The package is a very old version; upstream fixed the code > 6 years
ago, so updating would probably fix it.

Build log:

    [mkdir] Created dir: /build/bnd-2.4.1/bootstrap/build
    [javac] /build/bnd-2.4.1/debian/bootstrap.xml:15: warning: 
'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to 
false for repeatable builds
    [javac] Compiling 427 source files to /build/bnd-2.4.1/bootstrap/build
    [javac] 
/build/bnd-2.4.1/aQute.libg/src/aQute/lib/collections/ExtList.java:19: error: 
as of release 9, '_' is a keyword, and may not be used as an identifier
    [javac]     public ExtList(Collection<T> _) {
    [javac]                                  ^
    [javac] 
/build/bnd-2.4.1/aQute.libg/src/aQute/lib/collections/ExtList.java:20: error: 
as of release 9, '_' is a keyword, and may not be used as an identifier
    [javac]             super(_);
    [javac]                   ^




Cheers,
Chris.

Reply via email to