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

[GSS](7.2.z) Illegal reflective access by org.jboss.invocation.proxy.AbstractProxyFactory

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • 7.2.8.GA
    • Server
    • None
    • Hide

      1. starting EAP with JDK11 (11.0.7, 11.0.2 can also reproduce)
      2. build and deploy the quickstart app
      https://github.com/jboss-developer/jboss-eap-quickstarts/tree/7.3.x/helloworld-ws
      3. Then you can see the WARNING on EAP console.
      If restarting EAP deploying the app, the log also can be seen.

      Show
      1. starting EAP with JDK11 (11.0.7, 11.0.2 can also reproduce) 2. build and deploy the quickstart app https://github.com/jboss-developer/jboss-eap-quickstarts/tree/7.3.x/helloworld-ws 3. Then you can see the WARNING on EAP console. If restarting EAP deploying the app, the log also can be seen.

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              rhn-engineering-cdewolf Carlo de Wolf
              rhn-support-hdaicho Hiroki Daicho (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: