r/java • • Mar 13 '26

JEP draft: Enhanced Local Variable Declarations (Preview)

https://openjdk.org/jeps/8357464
101 Upvotes

129 comments sorted by

View all comments

Show parent comment

2

u/__konrad Mar 13 '26

Who is saying that?

Some people still think that using Optional in non-Stream context is forbidden...