Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-2053

JDK11 illegal reflective access testsuite warnings

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 4.0.0.Beta7, 3.6.3.Final
    • 3.6.1.Final, 4.0.0.Beta5
    • None
    • None

    Description

      RESTEasy currently prints with JDK11 these warnings:

      1. WARNING: Illegal reflective access by org.wildfly.security.manager.GetAccessibleDeclaredFieldAction (file:/home/mkopecky/.m2/repository/org/wildfly/security/wildfly-elytron/1.1.5.Final/wildfly-elytron-1.1.5.Final.jar) to field java.security.AccessControlContext.context
      2. WARNING: Illegal reflective access by org.jboss.as.server.deployment.reflect.ClassReflectionIndex (jar:file:/home/mkopecky/playground/wf/modules/system/layers/base/org/jboss/as/server/main/wildfly-server-7.0.0.Alpha4.jar!/) to method java.lang.Object.finalize()

      Second one is caused by WFCORE-4116 (not yet used in WF). First one is cause by wrong elytron version used in RESTEasy TS. After new (correct) Elytron is used, new warning occurs:

      This warning is caused by wrong (old) jboss-marshaling version.

      Attachments

        Activity

          People

            mkopecky@redhat.com Marek Kopecky
            mkopecky@redhat.com Marek Kopecky
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: