Skip to content
Commit fdfe25c9 authored by Tony Mancill's avatar Tony Mancill
Browse files

Set target=1.9 and specify "-XDignore.symbol.file" in debian/pom.xml

Also remove 1.5 source/target levels from debian/maven.properties.

This addresses FTBFS with openjdk-10 "package sun.misc does not exist"
(Debian: #902317)

Note that the approach of specifying the javac option (as per [1])

  --add-exports jdk.unsupported/jdk.internals=sun.misc

will result in a successful compilation on the command-line, but not
in conjuction with maven-compiler-plugin, which adds --release to the
compilation and results in the following error:

  [ERROR] error: exporting a package from system module jdk.unsupported is not allowed with --release

[1] https://docs.oracle.com/javase/9/migrate/
parent 64d1f3f3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment