Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-19520

[GSS](7.3.z) JBINV-9 - Illegal reflective access by org.jboss.invocation.proxy.AbstractProxyFactory

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.3.3.CR1, 7.3.3.GA
    • 7.3.0.GA
    • Server
    • None

    Description

      Following WARNING can be seen during startup on EAP 7.3.0 with JDK11. (7.2.8 can be reproduced also.)

      WARNING: An illegal reflective access operation has occurred
      WARNING: Illegal reflective access by org.jboss.invocation.proxy.AbstractProxyFactory (jar:file:/home/hdaicho/jboss/eap/jboss-eap-7.3.0/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
      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

      Attachments

        Issue Links

          Activity

            People

              ropalka Richard Opalka
              rhn-support-hdaicho Hiroki Daicho (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: