eclipse-jdt / eclipse.jdt.core

Eclipse Public License 2.0
156 stars 123 forks source link

Fixed ModuleCompilationTests failing on Java 17 JVM's #2765

Closed iloveeclipse closed 1 month ago

iloveeclipse commented 1 month ago

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