Bug#874645: FTBFS with Java 9: javadoc classpath

Chris West solo-debianbugs at goeswhere.com
Fri Sep 8 12:34:16 UTC 2017


Source: libnative-platform-java
Version: 0.11
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

This package appears to be passing the wrong classpath to the javadoc
tool, which is now illegal in Java 9. You have to fix the -source option
first, to see the second error.

Build log:

warning: [options] bootstrap class path not set in conjunction with -source 1.5
error: Source option 1.5 is no longer supported. Use 1.6 or later.
error: Target option 1.5 is no longer supported. Use 1.6 or later.

[.. then ..]

src/main/java/net/rubygrapefruit/platform/Native.java:19: error: package net.rubygrapefruit.platform.internal does not exist
import net.rubygrapefruit.platform.internal.NativeLibraryLoader;
                                            ^

Cheers,
Chris.



More information about the pkg-java-maintainers mailing list