Upgrading From Java 21 To 25: All You Need To Know

Updating from Java 21 to 25 is a smooth experience. Unless you're working on an unlucky project that collected all the little details that change: Whether it's annotation processing, null checks, file operations or the removal of old technologies, Peter collects them all.

Always embed videos

(and give me a cookie to remember - privacy policy)

Watch on YouTube

As is, this video's script is way too confusing to work in written form and I am way too busy (read: "lazy") to patch it up until it does, so I'm afraid, you'll have to watch the video. Here are time-stamped links to each chapter together with all follow-up sources:

Intro

Default Annotation Processing

Final Record Pattern Variables

Security Property "include"

Null Checks in Inner Class Constructors

Unsafe Memory Access

Native Access

Security Manager

File System Operations on Windows

Unicode Updates and COMPAT Removal

Intermission

Removals

Deprecations for Removal

Separate Metaspace and GC Printing

Remote Debugging with jstat and jhsdb

Outro

Next Up

If you haven't watched it yet, also check out this video on all the API additions in Java 25:

Always embed videos

(and give me a cookie to remember - privacy policy)

Watch on YouTube