Bug#873216: FTBFS with Java 9
Chris West
solo-debianbugs at goeswhere.com
Fri Aug 25 15:18:18 UTC 2017
Source: olap4j
Version: 1.2.0-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.
The wiki has some common problems and their solutions:
https://wiki.debian.org/Java/Java9Pitfalls
I've committed a patch, but not released it. The changelog does not
reference this bug, as I am lazy:
https://anonscm.debian.org/git/pkg-java/olap4j.git/commit/?id=a7cd65ab6831f6c4d3864d0e4a468a6c4614a41b
Build log:
[javac] /build/olap4j-1.2.0/testsrc/org/olap4j/test/TestContext.java:119: error: incompatible types: Class<CAP#1> cannot be converted to Class<? extends TestCase>
[javac] suite.addTestSuite(tckClass);
[javac] ^
[javac] where CAP#1 is a fresh type-variable:
[javac] CAP#1 extends Object from capture of ?
[javac] Note: /build/olap4j-1.2.0/testsrc/org/olap4j/test/TestContext.java uses or overrides a deprecated API.
Cheers,
Chris.
More information about the pkg-java-maintainers
mailing list