Source: libreadline-java
Version: 0.8.0.1+dfsg
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

An automated tool has decided that this package will build fine if the
-source and -target options are changed to 1.6; no additional changes
are required. This was done by building with a compiler that changed
the settings automatically, then the real compiler, and diffing the
results. This modified compiler will never be part of Debian.

ant and Maven are supposed to do this for you, and I've tried to check
that this package is not using ant or Maven correctly, but I might have
messed up.

Build log sample:

mkdir ./build
cd src ; /usr/bin/make JAVAC="/usr/lib/jvm/default-java/bin/javac" 
JC_FLAGS="-source 1.4 -target 1.4" java
make[3]: Entering directory '/build/libreadline-java-0.8.0.1+dfsg/src'
/usr/lib/jvm/default-java/bin/javac -source 1.4 -target 1.4 -d ../build `find . 
-name "*.java"`
warning: [options] bootstrap class path not set in conjunction with -source 1.4
error: Source option 1.4 is no longer supported. Use 1.6 or later.
error: Target option 1.4 is no longer supported. Use 1.6 or later.
Makefile:9: recipe for target 'java' failed
make[3]: *** [java] Error 2


Cheers,
Chris.

__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to