Uploaded image for project: 'OpenDJ'
  1. OpenDJ
  2. OPENDJ-5660

JDK 11: illegal reflective access warning on setup (with profile)

    Details

    • Epic Link:
    • Sprint:
      DS 2019.7
    • Story Points:
      0.5

      Description

      Found using OpenDJ 6.5.0 RC2.

      $ ./opendj/setup directory-server -h localhost -p 1509 -D "cn=myself" -w password --adminConnectorPort 4564 -Z 1974 -b dc=com --help-profile am-cts  -O --acceptLicense --monitorUserDn uid=Monitor --monitorUserPassword password	
      17:54:24.133	INFO	SUCCESS:
      -- rc --
      returned 0, effectively in [0]
      -- stdout --
      ...
      -- stderr --
      WARNING: An illegal reflective access operation has occurred
      WARNING: Illegal reflective access by org.codehaus.groovy.vmplugin.v7.Java7$1 (file:/root/workspace/OpenDJ-6.5.x/opendj/lib/groovy-all.jar) to constructor java.lang.invoke.MethodHandles$Lookup(java.lang.Class,int)
      WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.vmplugin.v7.Java7$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
      

      => setup command succeeds but unexpected warnings are printed on stderr

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                JnRouvignac Jean-Noël Rouvignac
                Reporter:
                csovant Christophe Sovant
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: