After switching default compilation level to 1.8 few tests that were working on Java 17 JVMs started to fail because the code snippets used compile now properly. The test fail didn't show up in jenkins because Jenkins runs on Java 22 but the code snippets were tested only on Java 17 JVM's.
After switching default compilation level to 1.8 few tests that were working on Java 17 JVMs started to fail because the code snippets used compile now properly. The test fail didn't show up in jenkins because Jenkins runs on Java 22 but the code snippets were tested only on Java 17 JVM's.
See https://github.com/eclipse-jdt/eclipse.jdt.core/issues/2536