Skip to content

Add support for Java 15  #838

Description

@normanmaurer

Conscrypt seems to not work with the latest Java15 release:

Caused by: javax.net.ssl.SSLPeerUnverifiedException: Could not find class: java.lang.ClassNotFoundException: com/sun/security/cert/internal/x509/X509V1CertImpl
	at org.conscrypt.SSLUtils.toCertificateChain(SSLUtils.java:338)
	... 31 common frames omitted

This is most likely caused by:

openjdk/jdk@d243e40#diff-06dcd66603a23837e5639cdccee0d1ea

As this commit removed the class.

 /Users/norman/Downloads/jdk-15.jdk/Contents/Home/bin/java -version
openjdk version "15-ea" 2020-09-15
OpenJDK Runtime Environment (build 15-ea+20-899)
OpenJDK 64-Bit Server VM (build 15-ea+20-899, mixed mode, sharing)

This showed up while adding support for running our testsuite in netty with Java15:

netty/netty#10210

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions