GlassFish now runs on JDK 21!

GlassFish, an open source Jakarta EE Platform implementation, is a code base that goes back a long time, in essence all the way back to 1996. It’s also a fairly large code base. Therefor it’s not surprising perhaps that in all that time it obtained some cruft between all those lines of code, which made it challenging to run on modern versions of the JDK.

The last few years OmniFish and other members from the GlassFish team have been working on removing this cruft, and making the releases compatible with newer JDK versions. This has not always been an easy task, and some older forks of GlassFish still can’t be build with anything above JDK 11. GlassFish itself however builds and fully passes its default set of internal tests on JDK21ea30 in GlassFish 7.0.7-SNAPSHOT (scheduled to be released at the end of this month):

The internal tests touch a lot of functionality in GlassFish, but of course not everything.

Yet, this is a major milestone nevertheless. Thanks to everyone involved who helped to make this happen!

Leave a Comment

Your email address will not be published. Required fields are marked *

Captcha loading...