Bug#875337: FTBFS with Java 9: crypto overloads
Chris West
debian at fau.xxx
Sun Sep 10 18:59:34 UTC 2017
Source: bouncycastle
Version: 1.57
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
Upstream have patched the immediate, trivial issue:
https://github.com/bcgit/bc-java/issues/209
Build log:
build-provider:
[mkdir] Created dir: /build/bouncycastle-1.57/build/artifacts/jdk1.5/bcprov-jdk15on-157
[copy] Copying 3 files to /build/bouncycastle-1.57/build/artifacts/jdk1.5/bcprov-jdk15on-157
[copy] Copying 3 files to /build/bouncycastle-1.57/build/artifacts/jdk1.5/bcprov-jdk15on-157/docs
[copy] Copying 2053 files to /build/bouncycastle-1.57/build/artifacts/jdk1.5/bcprov-jdk15on-157/src
[mkdir] Created dir: /build/bouncycastle-1.57/build/bcprov-jdk15on-157/classes
[javac] /build/bouncycastle-1.57/ant/bc+-build.xml:111: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[javac] Use of a source 1.5 is no longer supported, switching to 1.6
[javac] Use of a target 1.5 is no longer supported, switching to 1.6
[javac] Compiling 1971 source files to /build/bouncycastle-1.57/build/bcprov-jdk15on-157/classes
[javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
[javac] warning: [options] source value 1.6 is obsolete and will be removed in a future release
[javac] warning: [options] target value 1.6 is obsolete and will be removed in a future release
[javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
[javac] /build/bouncycastle-1.57/build/artifacts/jdk1.5/bcprov-jdk15on-157/src/org/bouncycastle/jcajce/provider/drbg/DRBG.java:243: error: reference to reseed is ambiguous
[javac] drbg.reseed(null);
[javac] ^
[javac] both method reseed(SecureRandomParameters) in SecureRandom and method reseed(byte[]) in SP800SecureRandom match
Cheers,
Chris.
More information about the pkg-java-maintainers
mailing list