Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-4138

JDK11 illegal reflective access warnings in gmavenplus-plugin

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Rejected
    • jbossws-cxf-5.2.3.Final
    • None
    • None
    • None

    Description

      When running build with JDK11, the execution of gmavenplus-plugin during testsuite prints illegal reflective access warnings

      [INFO] --- gmavenplus-plugin:1.5:execute (testsuite-default) @ jbossws-cxf-specific-tests ---
      WARNING: An illegal reflective access operation has occurred
      WARNING: Illegal reflective access by org.codehaus.groovy.reflection.CachedClass (file:/home/jbliznak/.m2/repository/org/codehaus/groovy/groovy-all/2.4.15/groovy-all-2.4.15.jar) to method java.lang.Object.finalize()
      WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.reflection.CachedClass
      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
      

      This will become problem in JDK 12

      Attachments

        Activity

          People

            Unassigned Unassigned
            jbliznak@redhat.com Jan Blizňák
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: