Following WARNING can be seen during startup on EAP 7.2.8 with JDK11. (7.3.0 can be reproduced also.)
WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by org.jboss.invocation.proxy.AbstractProxyFactory$1 (jar:file:/home/test/jboss/eap/jboss-eap-7.2.8/modules/system/layers/base/org/jboss/invocation/main/jboss-invocation-1.5.2.Final-redhat-00001.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 couldn't find what function/subsystem was caused.
But at least, on my test, jax-ws [1] can call the jboss-invocation and reproduce that. If deploying the following quickstart app [2], the WARNING also can be reproduced.
[1]
import javax.jws.WebMethod; import javax.jws.WebService; @WebService public class EchoWebService { @WebMethod public String echo(String s) { return "echo " + s; } }
[2]
https://github.com/jboss-developer/jboss-eap-quickstarts/tree/7.3.x/helloworld-ws
https://github.com/jboss-developer/jboss-eap-quickstarts/tree/7.3.x/hibernate
- is cloned by
-
JBEAP-19520 [GSS](7.3.z) JBINV-9 - Illegal reflective access by org.jboss.invocation.proxy.AbstractProxyFactory
- Closed
- is related to
-
WFLY-11717 Illegal reflective access - org.jboss.invocation.proxy.AbstractProxyFactory
- Closed
-
WFCORE-4514 ProxyMetadataSource breaks contract of ClassMetadataSource#getDeclaredMethods (resulting in "illegal reflective access operation" in Java 11)
- Open