eclipse-jdt / eclipse.jdt.core

Eclipse Public License 2.0
156 stars 123 forks source link

Nicer way to report "java version not supported" error in the IDE #2757

Open iloveeclipse opened 1 month ago

iloveeclipse commented 1 month ago

Proposal from https://github.com/eclipse-jdt/eclipse.jdt.core/pull/2551

Raise a build path error with the same message as IProblem.JavaVersionNotSupported, so that users will find the blocking error on the project itself, not just on one random compilation unit.

Currently the first file we compile with not supported Java version is flagged with an error, not the project.