On Sat, Sep 23, 2017 at 11:01 AM, Mark Thomas <ma...@apache.org> wrote: > On 23/09/17 15:55, Rainer Jung wrote: >> Hi all, >> >> when running TC 8.5.21 (9.0 should be the same) with Java 9 I get the >> following warnings on STDOUT during shutdown: > > Tomcat 9 has the Java 9 fixes. 8.5.x doesn't. I've put together a list > of the Java 9 commits that need to be back-ported. Now that Java 9 is > final those back-ports need to happen.
Have you shared/can you share the list of commits? I'd like to take a look and see if I can help get 7.0.x and 8.0.x ready to go too. > This is on my TODO list for after TomcatCon London on Tuesday. > > Mark > > >> >> WARNING: An illegal reflective access operation has occurred >> WARNING: Illegal reflective access by >> org.apache.catalina.loader.WebappClassLoaderBase >> (file:/.../lib/catalina.jar) to field java.lang.Thread.threadLocals >> WARNING: Please consider reporting this to the maintainers of >> org.apache.catalina.loader.WebappClassLoaderBase >> 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 >> >> >> If I add the mentioned flag, I get more such lines, all referring to >> org.apache.catalina.loader.WebappClassLoaderBase and then: >> >> field java.lang.Thread.threadLocals >> field java.lang.Thread.inheritableThreadLocals >> field java.lang.ThreadLocal$ThreadLocalMap.table >> method java.lang.ThreadLocal$ThreadLocalMap.expungeStaleEntries() >> field java.lang.ThreadLocal$ThreadLocalMap$Entry.value >> field sun.rmi.transport.Target.ccl >> field sun.rmi.transport.Target.stub >> field sun.rmi.transport.ObjectTable.objTable >> field sun.rmi.transport.ObjectTable.implTable >> >> Details may vary depending on the cleanup flags set in the loader, but >> this is 8.5 with default settings. >> >> Regards, >> >> Rainer >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org >> For additional commands, e-mail: dev-h...@tomcat.apache.org >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org > For additional commands, e-mail: dev-h...@tomcat.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org