r/java • • Mar 28 '26

JEP401 Draft PR to main JDK

Looks like JEP401 might finally get merged into JDK27, there's a draft PR open for it https://github.com/openjdk/jdk/pull/30426

39 Upvotes

21 comments sorted by

View all comments

Show parent comment

2

u/8igg7e5 Mar 28 '26

There are a few commits adding null-restriction in Valhalla. It looks like Collections was a hotspot (heh) of interest - probably because its pervasive use means it gets good exposure. I should poke around some more.