eclipse-jdt/eclipse.jdt.core

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

Open

#2757 aperta il 25 lug 2024

Vedi su GitHub
 (0 commenti) (0 reazioni) (1 assegnatario)Java (183 fork)auto 404
enhancementhelp wanted

Metriche repository

Star
 (233 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor