eclipse-jdt/eclipse.jdt.core

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

Open

#2,757 opened on Jul 25, 2024

View on GitHub
 (0 comments) (0 reactions) (1 assignee)Java (183 forks)auto 404
enhancementhelp wanted

Repository metrics

Stars
 (233 stars)
PR merge metrics
 (PR metrics pending)

Description

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.

Contributor guide