Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-2343

"Illegal reflective access" warning with OpenJDK 11

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.7.0, 2.8.0
    • 2.17.0
    • Broker
    • None
    • openjdk version "11.0.2" 2019-01-15
      OpenJDK Runtime Environment 18.9 (build 11.0.2+9)
      OpenJDK 64-Bit Server VM 18.9 (build 11.0.2+9, mixed mode)

      Windows 7 64bit

    Description

      Console output:

      WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.In
      jector$1 (file:/C:/Java/apache-artemis-2.8.0/lib/jaxb-impl-2.2.7.jar) to method
      java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int)

      Root cause and potential fix:

      https://stackoverflow.com/a/50251510/80901

      Attachments

        Issue Links

          Activity

            People

              jbertram Justin Bertram
              mjustin Michael Justin
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m