Details
-
Task
-
Resolution: Fixed
-
Major
-
18.8.0
-
None
-
Unknown
-
N/A
-
N/A
-
Description
See https://github.com/bcgit/bc-java/blob/1.86.X/docs/releasenotes.md:
- Release 1.86.1 generated for bctls and bctls-klog (Java 8 and later, standard and debug) to fix SSLContext.createSSLEngine() failing with NoSuchMethodError on every JDK from 9 up when the 1.86 bctls jar was used: the jdk1.9 copy of the package-private SSLEngineUtil declared create(ContextData) with a different return type from the root copy that the root ProvSSLContextSpi was compiled against, a mismatch exposed by the -implicit:none added to the java9 compile in 1.86. The jdk1.9 copy now declares the same return type. The other 1.86 jars are unchanged and the 1.86.1 BOM pins them at 1.86 (github #2448).
- Release 1.86.2 generated for bctls and bctls-klog (Java 8 and later, standard and debug) because the 1.86.1 jars could not be resolved in an OSGi container: their Import-Package ranges for every org.bouncycastle package they use from bcprov and bcutil started at 1.86.1, the bundle's own version, but those bundles are only published at 1.86. The import floor is now the major.minor release, [1.86,1.87), and the 1.86.1 fix for SSLContext.createSSLEngine() is otherwise unchanged. The 1.86.2 BOM pins the other jars at 1.86 (github #2493).