Bug#875329: FTBFS with Java 9: _ as identifier
Chris West
debian at fau.xxx
Sun Sep 10 18:46:45 UTC 2017
Source: akuma
Version: 1.10-1
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
_ is not a valid identifier any longer.
Upstream issue, currently ignored:
https://github.com/kohsuke/akuma/issues/14
Build log:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.10.4:jar (default-cli) on project akuma: MavenReportException: Error while generating Javadoc:
[ERROR] Exit code: 1 - /build/akuma-1.10/src/main/java/com/sun/akuma/JavaVMArguments.java:380: error: as of release 9, '_' is a keyword, and may not be used as an identifier
[ERROR] IntByReference _ = new IntByReference();
[ERROR] ^
[ERROR] /build/akuma-1.10/src/main/java/com/sun/akuma/JavaVMArguments.java:388: error: as of release 9, '_' is a keyword, and may not be used as an identifier
[ERROR] if(LIBC.sysctl(new int[]{CTL_KERN,KERN_ARGMAX},2, argmaxRef.getPointer(), size, NULL, _)!=0)
Cheers,
Chris.
More information about the pkg-java-maintainers
mailing list