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 inside.java, release notes, Quality Outrach, and much more.
~~~ Chapters & Links ~~~
0:00 Intro
1:40 API changes
sequenced collections: [ Ссылка ]
XSL transformations: [ Ссылка ]
Double/Float::toString: [ Ссылка ]
IdentityHashMap: [ Ссылка ]
3:44 Ongoing deprecations
Inside Java Newscast: [ Ссылка ]
Thread degradation: [ Ссылка ]
ThreadGroup degradation: [ Ссылка ]
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: [ Ссылка ]
HTTP client timeouts: [ Ссылка ], [ Ссылка ]
10:25 Encoding
UTF-8 encoding - heads-up: [ Ссылка ]
UTF-8 encoding - article: [ Ссылка ]
UTF-8 encoding - JEP 400: [ Ссылка ]
CLDR v42: [ Ссылка ]
13:52 Quality Outreach
website: [ Ссылка ]
on inside.java: [ Ссылка ]
16:31 Runtime
biased locking: [ Ссылка ]
G1 changes: [ Ссылка ], [ Ссылка ]
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
Ещё видео!