Warnings about illegal reflective access operation on ReflectionHelper when using Eclipse Adoptium 11

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Low
    • None
    • Affects Version/s: 9.4.25, 9.12.15, 9.17.4
    • Component/s: Environment - Java
    • 9.04
    • 3
    • Severity 3 - Minor
    • 0

      Issue Summary

      Warnings about illegal reflective access operation when using Eclipse Adoptium 11

      This is reproducible on Data Center: yes

      Steps to Reproduce

      1. Start a Jira 9.17.4 instance on Eclipse Adoptium 11.0.25.
      2. Observe the error messages in the startup logs (catalina.out).

      Expected Results

      Jira started without warnings about an illegal reflective access operation

      Actual Results

      The below warning is thrown in the catalina.out of a Jira 9.17.4 instance:

      WARNING: An illegal reflective access operation has occurred
      WARNING: Illegal reflective access using Lookup on com.atlassian.plugins.utils.ReflectionHelper (file:/opt/atlassian/jira/atlassian-jira-software-9.17.2-standalone/atlassian-jira/WEB-INF/atlassian-bundled-plugins/jira-migration-plugin-1.10.10.jar) to class java.lang.reflect.Field
      WARNING: Please consider reporting this to the maintainers of com.atlassian.plugins.utils.ReflectionHelper
      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
      

      On Jira 9.4.25

      WARNING: An illegal reflective access operation has occurred
      WARNING: Illegal reflective access using Lookup on com.atlassian.plugins.utils.ReflectionHelper (file:/opt/atlassian/jira/atlassian-jira-servicedesk-5.4.25-standalone/atlassian-jira/WEB-INF/atlassian-bundled-plugins/jira-migration-plugin-1.9.17.jar) to class java.lang.reflect.Field
      WARNING: Please consider reporting this to the maintainers of com.atlassian.plugins.utils.ReflectionHelper
      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
      

      There is no currently identified appreciable effect on Jira, but, there may be in a future release of Java (All illegal access operations will be denied in a future release)

      Workaround

      Use Eclipse Adoptium 17 or other supported versions of Java as per the Supported Platforms

            Assignee:
            Unassigned
            Reporter:
            Michelle Chin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: