Skip to content

Conversation

@HGuillemet
Copy link
Contributor

JavaCPP had a workround for openjdk bug 8216553.
The bug seems now fixed (in JDK 13.0.1), but not the way it was expected in the workaround. Running from a jlink image built with newer JDK causes exceptions like :

java.lang.ClassCastException: class jdk.internal.jimage.ImageReader$Resource cannot be cast to class jdk.internal.jimage.ImageReader$Directory

This PR should make things work in both JDK 12- and JDK13+.

@saudet saudet merged commit 40d11bb into bytedeco:master Dec 24, 2019
@HGuillemet HGuillemet deleted the hg_fix_jrt_bug_workaround branch December 24, 2019 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants