RFR: 8349132: javac Analyzers should handle non-deferrable errors

Jan Lahoda jlahoda at openjdk.org
Wed Feb 5 16:23:49 UTC 2025


On Mon, 3 Feb 2025 10:38:21 GMT, Aggelos Biboudis <abimpoudis at openjdk.org> wrote:

> Looks good to me. And thanks for the great analysis.
> 
> I was wondering, the third error is not coming from the `DiamondInitializer` is seems. It must have been one of the subsequent, right?: `LambdaAnalyzer`, `RedundantTypeArgAnalyzer`, `RedundantLocalVarTypeAnalyzer`, `RedundantLocalVarTypeAnalyzerForEach`.

The third error comes from the DiamondInitializer (I checked, the rewrites are queued, and run later, but I printed the analyzer that scheduled the rewrite).

-------------

PR Comment: https://git.openjdk.org/jdk/pull/23387#issuecomment-2637403603


More information about the compiler-dev mailing list