I am confused when it comes to the supported java-versions of spring 4.3.20. Updating a Spring 4.3.20 project to Java 11 worked without any hiccups what so ever. All my tests work fine, the webapp starts up and all the features of Spring that require bytecode-magic like @Cacheable
work. How is this even possible? From what I understand I should have to update to Spring 5+. I checked the language level in my maven settings and bytecode version of the generated .class
-files and they indeed use major version: 55
.
What am I missing?
I build with Java 11 and launch my local tomcat with Java 11. I double checked all my settings and used visualvm
to verify that tomcat indeed runs with Java 11.
Heres the output of javap
: