-
1. Re: Illegal reflective access operation in Wildfly 10.1 with Java 9
slominskir Jun 4, 2019 11:30 AM (in response to omega09)I'm seeing a very similar message in Wildfly 16 with Java 11:
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.jboss.invocation.proxy.AbstractProxyFactory$1 (jar:file:/C:/wildfly-16.0.0.Final/modules/system/layers/base/org/jboss/invocation/main/jboss-invocation-1.5.2.Final.jar!/) to method java.lang.Object.clone()
WARNING: Please consider reporting this to the maintainers of org.jboss.invocation.proxy.AbstractProxyFactory$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
-
2. Re: Illegal reflective access operation in Wildfly 10.1 with Java 9
jaikiran Jun 11, 2019 2:41 AM (in response to slominskir)1 of 1 people found this helpfulslominskir wrote:
I'm seeing a very similar message in Wildfly 16 with Java 11:
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.jboss.invocation.proxy.AbstractProxyFactory$1 (jar:file:/C:/wildfly-16.0.0.Final/modules/system/layers/base/org/jboss/invocation/main/jboss-invocation-1.5.2.Final.jar!/) to method java.lang.Object.clone()
WARNING: Please consider reporting this to the maintainers of org.jboss.invocation.proxy.AbstractProxyFactory$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
I have opened a JIRA [WFCORE-4514] ProxyMetadataSource breaks contract of ClassMetadataSource#getDeclaredMethods (resulting in "illegal refle… with some details on why this is happening. Thank you for bringing this up here.