Java 21 is chock-full of great features and if you’re coming all the way from 17, there’s a plethora of additions to use and get used to, but it’s all for naught if you can’t actually update. In this #RoadTo21 episode, we discuss all you need to know to update from Java 17 to 21: API changes that may require you to update your code (like the introduction of sequenced collections or bug fixes in Double/Float::toString and IdentityHashMap), ongoing deprecations (threading, security manager, finalization, and more) and changes in networking (like earlier URL validation and HTTP timeouts), encoding (UTF-8 by default and changes in date/time/unit formatting), the runtime (like removed options class loading), and tooling (like new warnings). We’ll also go beyond the nitty-gritty details and see the bigger picture of how to best prepare and execute your Java and 3rd party updates by talking about , release notes, Quality Outrach, and much more.
~~~ Chapters & Links ~~~
0:00 Intro
1:40 API changes
sequenced collections:
XSL transformations: #JDK-8290347
Double/Float::toString:
IdentityHashMap: #JDK-8178355
3:44 Ongoing deprecations
Inside Java Newscast:
Thread degradation:
ThreadGroup degradation: #JDK-8284161
security manager - Inside Java Newscast #5:
security manager - heads-up:
security manager - JEP 411:
finalization - Inside Java NEwscast #15:
finalization - JEP 421:
dynamic agent loading:
6:52 The more you know
Inside Java:
Java 20 release notes:
8:56 Networking
network interface names:
URL validation:
stricter JNDI providers: #JDK-8278972
HTTP client timeouts: #JDK-8297030, #JDK-8288717
10:25 Encoding
UTF-8 encoding - heads-up:
UTF-8 encoding - article:
UTF-8 encoding - JEP 400:
CLDR v42:
13:52 Quality Outreach
website: Outreach
on :
16:31 Runtime
biased locking: #JDK-8256425
G1 changes: #JDK-8137022, #JDK-8017163
ClassName/:
parallel-capable class loaders:
Metal - heads-up:
Metal - construction:
19:02 JDK Tools
serialization warning:
JAR index:
jlink --compress:
jpackage --app-image:
20:31 3rd party updates
21:48 How to update
OpenJDK Archive:
(Don’t run outdated versions in production!)
23:39 RoadTo21 previews
~~~ ~~~
Tags: #Java21 #Update #Java #OpenJDK #InsideJava
4 views
627
194
6 months ago 00:02:08 1
Meet DJI Avata 2
6 months ago 00:07:32 1
Silo 2024.2 — Native Silicon Support for Mac, Improved Numerical Input
6 months ago 00:11:34 1
Countering the Threat from “Global NATO“
6 months ago 00:08:42 1
Top 21 Hilarious ML Ads 2021
6 months ago 00:04:23 1
Disturbed - The Vengeful One (Official Music Video) [4K UPGRADE]
6 months ago 00:22:21 1
Fast and Factual: Biden, Japan PM Kishida Announce Stronger Defence Ties in State Visit
6 months ago 00:05:50 1
MetallicA - Sad But True (live in Moscow 1991) AUDIO UPGRADE
6 months ago 00:04:49 1
David Bowie - Thursday’s Child (Official Music Video) [HD Upgrade]
6 months ago 00:30:50 1
Тревожное расстройство. Невроз. ВСД
6 months ago 00:00:41 1
Stellar Blade - Lily Vignette | PS5 Games
6 months ago 00:11:04 1
Hyundai Kona goes in for software upgrade - Resets to 1984 - This is SHOCKING
6 months ago 00:03:52 1
Hellroaring Mountain DLC Map Released!
6 months ago 01:00:00 2
The Terminator | Love Scene | Ambient Soundscape
6 months ago 00:04:24 1
TEN KO SEI (2022) ATM Turbo 2+
6 months ago 00:11:10 52
The Rogue Prince of Persia - Official Gameplay | Triple-I Initiative Showcase
6 months ago 00:10:03 1
🐣 CRAFTING AND ALL REWARDS FROM PART 2 EASTER EVENT 2024! ROBLOX GHOST SIMULATOR!
6 months ago 00:13:57 4
ReShade mod for better lighting in Tomb Raider Remastered!