Asire, Scott
2018-09-11 17:32:59 UTC
Im sure this has been asked/answered before so just point me to where I can read up on it.
I have tried this on Tomcat 8.5.31, 8.5.34, 9.0.12 and the same results occur: When shutting down Tomcat the following warnings are generated on JDK 10 and JDK 11 EA:
I see these written to the console of my Tomcat window which I start by running java and using org.apache.catalina.startup.Bootstrap as the main class.
2018/09/11 10:14:52.135 | INFO: Stopping service [Catalina]
2018/09/11 10:14:52.135 | WARNING: An illegal reflective access operation has occurred
2018/09/11 10:14:52.135 | WARNING: Illegal reflective access by org.apache.catalina.loader.WebappClassLoaderBase (file:/usr/local/apache-tomcat-9.0.12/lib/catalina.jar) to field java.io.ObjectStreamClass$Caches.localDescs
2018/09/11 10:14:52.135 | WARNING: Please consider reporting this to the maintainers of org.apache.catalina.loader.WebappClassLoaderBase
2018/09/11 10:14:52.135 | WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
2018/09/11 10:14:52.135 | WARNING: All illegal access operations will be denied in a future release
Are there plans to address these in a future release?
Best Regards,
Scott Asire
I have tried this on Tomcat 8.5.31, 8.5.34, 9.0.12 and the same results occur: When shutting down Tomcat the following warnings are generated on JDK 10 and JDK 11 EA:
I see these written to the console of my Tomcat window which I start by running java and using org.apache.catalina.startup.Bootstrap as the main class.
2018/09/11 10:14:52.135 | INFO: Stopping service [Catalina]
2018/09/11 10:14:52.135 | WARNING: An illegal reflective access operation has occurred
2018/09/11 10:14:52.135 | WARNING: Illegal reflective access by org.apache.catalina.loader.WebappClassLoaderBase (file:/usr/local/apache-tomcat-9.0.12/lib/catalina.jar) to field java.io.ObjectStreamClass$Caches.localDescs
2018/09/11 10:14:52.135 | WARNING: Please consider reporting this to the maintainers of org.apache.catalina.loader.WebappClassLoaderBase
2018/09/11 10:14:52.135 | WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
2018/09/11 10:14:52.135 | WARNING: All illegal access operations will be denied in a future release
Are there plans to address these in a future release?
Best Regards,
Scott Asire