Source: checkstyle Version: 6.15 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's looking for tools.jar. The upstream build seems not to look for tools.jar, but fail anyway because it can't find things inside it. I raised a "It doesn't work" issue with upstream: https://github.com/checkstyle/checkstyle/issues/5102 The package is quite a way behind upstream anyway, so updating it may be challenging. Upstream build log: [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /home/faux/code/checkstyle/src/test/java/com/puppycrawl/tools/checkstyle/doclets/TokenTypesDocletTest.java:[44,29] cannot find symbol symbol: class JavadocTool location: package com.sun.tools.javadoc Debian build log: [ERROR] Failed to execute goal on project checkstyle: Could not resolve dependencies for project com.puppycrawl.tools:checkstyle:jar:6.15: Could not find artifact com.sun:tools:jar:debian at specified path /usr/lib/jvm/java-9-openjdk-amd64/../lib/tools.jar -> [Help 1] Cheers, Chris.