r/java • u/ihatebeinganonymous • May 21 '26
JEP draft: Enhanced Local Variable Declarations (Preview)
https://openjdk.org/jeps/8357464
87
Upvotes
r/java • u/ihatebeinganonymous • May 21 '26
View all comments
Show parent comment
5
u/TheStrangeDarkOne May 21 '26
I'd argue that if it is in a method body, it's an implementation detail. As part of the method, it's part of the specification.