Source: libxml-commons-resolver1.1 Version: 1.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 It uses enum as a keyword, which is illegal in the now-mandatory -source 1.6. Note that you will need modern ant in sid to get this far. Build log: [javac] /build/libxml-commons-resolver1.1-java-1.2/src/org/apache/xml/resolver/Catalog.java:1175: error: as of release 5, 'enum' is a keyword, and may not be used as an identifier [javac] Enumeration enum = catalogEntries.elements(); [javac] ^ [javac] /build/libxml-commons-resolver1.1-java-1.2/src/org/apache/xml/resolver/Catalog.java:1177: error: as of release 5, 'enum' is a keyword, and may not be used as an identifier [javac] while (enum.hasMoreElements()) { [javac] ^ Cheers, Chris.