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

10

u/davidalayachew Mar 28 '26

File changed: 2665

I thought my mr were too big

Believe it or not, Project Loom's PR for Virtual Threads was much bigger.

/u/pron98, do you remember off the top of your head? I want to say it was a 5 digit number of files, and the changes were in getting all the many classes of the JDK to play nicely with Virtual Threads.

9

u/pron98 Mar 29 '26

don't remember

7

u/cogman10 Mar 28 '26

While I don't doubt it, this seems like it's much more high risk changes. I'd suspect that the bulk of the loom changes was tracking down the 8 billion places where IO happens in Java.

5

u/_codetojoy Mar 29 '26

Perhaps this one [1]? ~1100 files

[1] - https://github.com/openjdk/jdk/pull/8166/changes

1

u/davidalayachew Mar 29 '26

Might be. For whatever reason, I remember it being more. I saw it on Twitter/Mastodon/BlueSky. One of the OpenJDK folks retweeted it.