git: openjdk/jdk: master: 8329951: `var` emits deprecation warnings that do not point to the file or position

Archie Cobbs acobbs at openjdk.org
Tue Jun 3 14:39:51 UTC 2025


Changeset: e2f73665
Branch: master
Author:    Archie Cobbs <acobbs at openjdk.org>
Date:      2025-06-03 14:35:17 +0000
URL:       https://git.openjdk.org/jdk/commit/e2f736658fbd03d2dc2186dbd9ba9b13b1f1a8ac

8329951: `var` emits deprecation warnings that do not point to the file or position

Reviewed-by: vromero

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Analyzer.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java
+ test/langtools/tools/javac/tree/VarWarnPosition.java
+ test/langtools/tools/javac/tree/VarWarnPosition.out



More information about the jdk-changes mailing list