On 20/12/2021 12:33, Rémy Maucherat wrote:

<snip/>

I'm seeing a difference with the new Java versions that will need some
attention, with this stack trace occurring on shutdown:
20-Dec-2021 13:26:40.235 WARNING [Thread-2]
org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesObjectStreamClassCaches
Failed to clear soft references from ObjectStreamClass$Caches for web
application [docs]
     java.lang.ClassCastException: class
java.io.ObjectStreamClass$Caches$1 cannot be cast to class
java.util.Map (java.io.ObjectStreamClass$Caches$1 and java.util.Map
are in module java.base of loader 'bootstrap')
         at 
org.apache.catalina.loader.WebappClassLoaderBase.clearCache(WebappClassLoaderBase.java:2340)

I see the change in the JDK repo but it hasn't been back-ported to an EA release yet. I wonder if this is planned for Java 19?

My current thinking is to wait to address this until the change makes its way into a EA release.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to