Bug#875414: FTBFS with Java 9: ant javadoc classpath

Chris West debian at fau.xxx
Mon Sep 11 08:55:45 UTC 2017


Source: janino
Version: 2.70
Severity: normal
User: debian-java at 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

javadoc has got strict about getting the classpath right, which this
package apparently doesn't do right.

Build log:

  [javadoc] Loading source files for package org.codehaus.commons.io...
  [javadoc] Constructing Javadoc information...
  [javadoc] /build/janino-2.7.0/janino/src/org/codehaus/janino/AntCompilerAdapter.java:32: error: package org.apache.tools.ant.types does not exist
  [javadoc] import org.apache.tools.ant.types.Path;
  [javadoc]                                  ^
  [javadoc] /build/janino-2.7.0/janino/src/org/codehaus/janino/AntCompilerAdapter.java:41: error: cannot find symbol
  [javadoc] class AntCompilerAdapter extends DefaultCompilerAdapter {
  [javadoc]                                  ^
  [javadoc]   symbol: class DefaultCompilerAdapter


Cheers,
Chris.



More information about the pkg-java-maintainers mailing list