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.
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.