JDK-8300691 - final variables in for loop headers should accept updates
Archie Cobbs
archie.cobbs at gmail.com
Wed Oct 16 14:11:34 UTC 2024
Hi Maurizio,
On Wed, Oct 16, 2024 at 8:56 AM Maurizio Cimadamore <
maurizio.cimadamore at oracle.com> wrote:
> Could you come up with a javac patch that detects such “dummy” variable
> declarations and prints a note/warning in the compiler output?
>
Excellent idea - I agree this is something worth further exploration to
better understand.
I will work on it and report back.
-Archie
--
Archie L. Cobbs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/amber-dev/attachments/20241016/49ebf05e/attachment.htm>
More information about the amber-dev
mailing list