Bug Report: "add-opens=java.base/java.io" is missing in Micro 6.2023.9/ FISH-7817 #6406
Labels
Status: Accepted
Confirmed defect or accepted improvement to implement, issue has been escalated to Platform Dev
Type: Bug
Label issue as a bug defect
Brief Summary
Your fix #6371 does not work for Payara Micro.
You need to add it into MANIFEST.MF too.
This is what MANIFEST.MF in Micro 6.2023.9 looks like:
the "Add-Opens" sections is missing java.base/java.io
Expected Outcome
Start Payara Micro successfull
Current Outcome
Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make private static java.lang.ClassLoader java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @4bbfd6a
Reproducer
--
Operating System
--
JDK Version
17
Payara Distribution
Payara Micro
The text was updated successfully, but these errors were encountered: