After tomcat upgrade from 8.5.6 to 8.5.28 parallel stream stopped supplying Threads with contextClassLoader:
Because of it Warmer::run
can't load classes in it.
warmers.parallelStream().forEach(Warmer::run);
Do you have any ideas what Tomcat was supplying for contextClassLoaders for new Threads?
ParallelStream uses ForkJoinPool in newest Tomcat.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…