[WFCORE-7678] Add --add-opens=java.base/sun.reflect.annotation=ALL-UNNAMED to the default modular JVM options - #6893
[WFCORE-7678] Add --add-opens=java.base/sun.reflect.annotation=ALL-UNNAMED to the default modular JVM options#6893rhusar wants to merge 1 commit into
Conversation
|
@pferraro for review |
…NAMED to the default modular JVM options Required by the ProtoStream annotation marshaller introduced in wildfly-clustering 12, which uses MethodHandles.privateLookupIn(...) on sun.reflect.annotation.AnnotationInvocationHandler. Without this option, marshalling of annotations is disabled. Signed-off-by: Radoslav Husar <rhusar@ibm.com>
|
Core -> Full Integration (with SecurityManager) Build 308 outcome was UNKNOWN using a merge of 8456594 |
|
Core -> WildFly Preview Integration Build 316 outcome was UNKNOWN using a merge of 8456594 |
|
Core -> Full Integration (with SecurityManager) Build 15636 outcome was UNKNOWN using a merge of 8456594 |
|
Core -> Full Integration Build 15311 outcome was UNKNOWN using a merge of 8456594 |
|
/retest cannot find commit.. |
|
Oh, and before someone asks about what happens when running on a JDK that does not have this sun.* package:
As defined in the JEP 261: Module System – https://openjdk.org/jeps/261#:~:text=pair%20is%20ignored. |
|
@rhusar This conflicted with a recent change removing the optional settings for jdks below 17 |
Required by the ProtoStream annotation marshaller introduced in wildfly-clustering 12, which uses MethodHandles.privateLookupIn(...) on sun.reflect.annotation.AnnotationInvocationHandler. Without this option, marshalling of annotations is disabled.
https://redhat.atlassian.net/browse/WFCORE-7678
Launcher PR: wildfly/wildfly-launcher#91