Details
-
Bug
-
Resolution: Fixed
-
High
-
8.0.0, 8.5.1, 8.20.6
-
8
-
25
-
Severity 3 - Minor
-
55
-
Description
Issue Summary
When using Jira >=8 on Java 11, a warning message is logged due to an illegal reflection operation by the Apache Felix Framework (org.apache.felix.framework) to method java.net.URLClassLoader.addURL
The issue is tracked on Apache Felix at https://issues.apache.org/jira/browse/FELIX-5765
Steps to Reproduce
- Start a Jira 8.5.2 instance on Java 11
- Observe the error messages in the startup logs (catalina.out)
Expected Results
No warnings are shown in the log
Actual Results
The below warning is shown in the catalina.out file:
___ Starting the JIRA Plugin System _________________ WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by org.apache.felix.framework.ext.ClassPathExtenderFactory$DefaultClassLoaderExtender (file:/Users/allewellyn/jira/atlassian-jira-software-8.5.2-standalone/atlassian-jira/WEB-INF/lib/org.apache.felix.framework-5.6.12.jar) to method java.net.URLClassLoader.addURL(java.net.URL) WARNING: Please consider reporting this to the maintainers of org.apache.felix.framework.ext.ClassPathExtenderFactory$DefaultClassLoaderExtender 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
Currently there is no known workaround for this behavior. A workaround will be added here when available