Source: squareness Version: 2.3.0 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 wiki has some common problems and their solutions: https://wiki.debian.org/Java/Java9Pitfalls It uses 'enum' as a keyword, which is supported in -source 1.4, and not 1.5. Java 9 has dropped support for -source below 1.6, and the build system has automatically migrated everything to 1.6. Build log: ... [javac] /build/squareness-2.3.0/source/org/jvnet/lafplugin/XMLElement.java:481: error: as of release 5, 'enum' is a keyword, and may not be used as an identifier [javac] Enumeration enum = this.entities.keys(); [javac] ^ [javac] /build/squareness-2.3.0/source/org/jvnet/lafplugin/XMLElement.java:482: error: as of release 5, 'enum' is a keyword, and may not be used as an identifier [javac] while (enum.hasMoreElements()) { [javac] ^ ... Cheers, Chris.