-
Notifications
You must be signed in to change notification settings - Fork 306
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug Report: [JDK21] MultiRelease JAR in EAR (with Lucene)/FISH-7959 #6452
Comments
I also checked my reproducer with GlassFish 7.0.9 => this works fine, so it is indeed something related in how Payara handles the ClassLoader of the EAR. |
Hi @ctabin, As documented, currently supported versions for Payara Platform of JDK are JDK 11 and JDK 17. |
Hi @shub8968, Thanks for your feedback. However, let me argue:
I would gladly help and submit a PR to fix this if I can get some hint where to look at. |
Greetings, |
this is still in progress |
Brief Summary
Hello,
We are checking our application (Jakarata EE10 with payara-embedded-all 6.2023.9) with the JDK21. All seems to run smoothly except for Lucene, which does not find a class during its lookup:
All the libraries related to Lucene are included in our EAR.
This works fine with the JDK17 because the lucene-core dependency was not a multi-release JAR before JDK19. However, since then there are some classes in
META-INF/versions
and the lookup in Payara fails.Expected Outcome
The lookup of the classes inside Lucene should work fine.
Current Outcome
It crashes with a
ClassNotFoundException
.Reproducer
You will find a reproducer here.
Operating System
Linux Debian
JDK Version
OpenJDK 21
Payara Distribution
Payara Embedded All
The text was updated successfully, but these errors were encountered: