RFR: 8329951: `var` emits deprecation warnings that do not point to the file or position [v4]
Liam Miller-Cushon
cushon at openjdk.org
Wed Jun 4 16:32:56 UTC 2025
On Wed, 4 Jun 2025 16:19:25 GMT, Archie Cobbs <acobbs at openjdk.org> wrote:
>> I'm not sure if manifests in behaviour in javac, but it affects `com.sun.source.util.SourcePositions#getEndPosition`, so it's observable to plugins. Most local variables types generally have start/end positions, `var` is an exception.
>
> Fair enough. Would you mind creating a JIRA issue (you can assign to me)? Thanks.
Thanks for considering it, I filed https://bugs.openjdk.org/browse/JDK-8358604
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/23683#discussion_r2127006474
More information about the compiler-dev
mailing list