question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add support for Java 15

See original GitHub issue

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:

https://github.com/openjdk/jdk/commit/d243e40f7b000d3f46a63da66ce55bc790706657#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:

https://github.com/netty/netty/pull/10210

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:3
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

4reactions
prbprbprbcommented, Jun 25, 2020

Looks like we can migrate to the java.security version of X509Certificate on all platforms

0reactions
prbprbprbcommented, Nov 20, 2020

Actually my bad, so does current Android and openjdk1.8 so we’ll have to make openjdk 15 the special case here

Read more comments on GitHub >

github_iconTop Results From Across the Web

How To Setup JDK 15 Environment In Eclipse
1) Create a new Java project in Eclipse. · 2) Right click on the project and navigate to Build Path -> Configure Build...
Read more >
Java SE 15 Archive Downloads - Oracle
Java SE 15 Archive Downloads. Go to the Oracle Java Archive page. The JDK is a development environment for building applications using the...
Read more >
How to use Java version 15 in Eclipse 2020-09 - Stack Overflow
There are only a few who already use Java 15 and the support can be easily installed via Marketplace. You are free to...
Read more >
Java 15 and IntelliJ IDEA - The JetBrains Blog
Java 15 introduces a new language feature – sealed classes and interfaces. The language syntax allows you to restrict the classes or ...
Read more >
What's New in Java 15 - Baeldung
Foreign memory access is already an incubating feature of Java 14. In Java 15, the goal is to continue its incubation status while...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found