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
808
245
5 months ago 00:16:57 1
(Review) Phantom Fury Is A MESS
5 months ago 00:03:22 1
1,000 HP Cadillac | DESTROYER of Tires | H1000 CT5-V Blackwing by Hennessey
5 months ago 00:02:08 1
Meet DJI Avata 2
5 months ago 01:08:54 1
Existential Threat & Spiritual Response | TGT 166
5 months ago 00:18:44 1
DawnCraft How To Get Started & Extra Beginners Tips /w Timestamps
5 months ago 00:13:13 1
Inside Real Madrid’s $1BN Stadium Upgrade
5 months ago 10:36:47 1
🇸🇮🏆 Final Day of €300 Slovenian Poker Tour KK Half Million Main Events live from King’s Resort 👑
5 months ago 00:04:23 1
Disturbed - The Vengeful One (Official Music Video) [4K UPGRADE]
5 months ago 00:45:16 1
North Meets South - 154 - Laravel 11 learnings, nested validation, and the simplicity of Laravel
5 months ago 00:00:41 1
Stellar Blade - Lily Vignette | PS5 Games
5 months ago 00:11:10 1
The Rogue Prince of Persia - Official Gameplay | Triple-I Initiative Showcase
5 months ago 00:08:31 1
Russia’s Insane Projects That Make America Look Ancient!
5 months ago 00:06:58 1
If SEGA Remastered Sonic ’06...
5 months ago 02:43:00 1
The ULTIMATE DIY Boat Build (A Solar Powered Pontoon Houseboat that Sails!)
5 months ago 00:01:00 2
A true motherly love story 💀 #clashofclans #coc #gaming #supercell #clash #strategygames
5 months ago 00:01:15 1
Zombie Army VR - Story Trailer | PS VR2 Games
5 months ago 00:00:15 1
Airsoft Player Gets Sight Shot Out - Clip 767 #shorts
5 months ago 00:14:29 1
OpenAI’s Intelligent Robots | Artificial Intelligence converts text | ChatGPT already remembers you
5 months ago 02:36:15 1
Top 50 Phonk Songs - Best of Phonk
5 months ago 00:06:12 1
Gear Event | Blitz tournament - Territorial Dispute| Happy Hunting ! (Art of War 3 RTS) ✌️🔥😁😎⚙️
5 months ago 00:03:44 1
The Death of Sigismund (Animation)
5 months ago 00:16:07 1
Fire Strike - Gun Shooter FPS | Edkon Games GmbH | Android gameplay Mobile app phone4kids telephone
5 months ago 00:02:48 1
Rezvani Vengeance Military Edition
5 months ago 00:05:22 1
Red Hot Chili Peppers - Californication (Official Music Video) [HD UPGRADE]