Details

      Description

      JDK11: wsconsume throws "An illegal reflective access" warnins

      [mkopecky@localhost bin]$ ./wsconsume.sh https://raw.githubusercontent.com/jbossws/jbossws-cxf/master/modules/testsuite/shared-tests/src/test/resources/jaxws/smoke/tools/wsdl/TestServiceSoap12.wsdl
      Could not find log4j.properties or log4j.xml configuration, logging to console.
      
      Loading FrontEnd jaxws ...
      Loading DataBinding jaxb ...
      wsdl2java -compile -exsh false -d /home/mkopecky/playground/eap/7.2.0.GA.CR1/jboss-eap-7.2/bin/output/tmp2533189 -verbose -classdir /home/mkopecky/playground/eap/7.2.0.GA.CR1/jboss-eap-7.2/bin/output -allowElementReferences https://raw.githubusercontent.com/jbossws/jbossws-cxf/master/modules/testsuite/shared-tests/src/test/resources/jaxws/smoke/tools/wsdl/TestServiceSoap12.wsdl
      wsdl2java - Apache CXF 3.2.5.redhat-00001
      
      WARNING: An illegal reflective access operation has occurred
      WARNING: Illegal reflective access by org.apache.cxf.common.util.ReflectionUtil$11 (jar:file:/home/mkopecky/playground/eap/7.2.0.GA.CR1/jboss-eap-7.2/modules/system/layers/base/org/apache/cxf/main/cxf-core-3.2.5.redhat-00001.jar!/) to field java.net.Authenticator.theAuthenticator
      WARNING: Please consider reporting this to the maintainers of org.apache.cxf.common.util.ReflectionUtil$11
      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
      [mkopecky@localhost bin]$ 
      

      This warnings were revealed after JBEAP-15630 is fixed.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  baranowb Bartosz Baranowski
                  Reporter:
                  mkopecky Marek Kopecky
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  7 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: