Illegal reflective access

Should I worry that the Docker image spit out this warning ?

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.apache.felix.framework.ext.ClassPathExtenderFactory$DefaultClassLoaderExtender (file:/usr/local/tomcat/lucee/lucee.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

@thefalken This is a known warning when using the Felix OSGI libraries on Java 11+. The error will go away when Apache Felix updates their code and Lucee starts using that version of Felix. I haven’t looked in a while to see what the progress is on that, but you can probably find a ticket in Felix’s system to track their progress on it. For now, it’s nothing to worry about and nothing Lucee can control.

3 Likes