Java 21 New Features | What's New In Java 21?

Sdílet
Vložit
  • čas přidán 20. 08. 2023
  • In this video, I'll cover what's new in Java 21? More precisely, three sections: 1) What's new since Java 17 (Java releases 18, 19, 20) 2) What's new in Java 21 that's released? And 3) What's in the preview/incubator state in Java 21, in other words, what's coming up in later releases?
    So join me and watch this video to get an overview of what's included, what they mean, whether or not you should make a plan for updating your current Java version to Java 21, and what are the risks there.
    I will not go too deep into features in this video, just discuss them on a high level, to keep the video length manageable. Separate deep dive videos coming up later on the most interesting and important new features.
    And as always, if you like the content here, click that like button, or leave comments or questions. And subscribe to my channel for more similar content, and perhaps even enable notifications to know when the deep dives are released.
    Most important links for Java 21:
    - openjdk.org/projects/jdk/21/
    - jdk.java.net/21/release-notes
    Earlier Java versions:
    - openjdk.org/projects/jdk/18/
    - openjdk.org/projects/jdk/19/
    - openjdk.org/projects/jdk/20/
    - www.oracle.com/java/technolog...
    - www.oracle.com/java/technolog...
    - www.oracle.com/java/technolog...

Komentáře • 6

  • @uyiomofonmwan2083
    @uyiomofonmwan2083 Před 10 měsíci +1

    Thank you for the breakdown, very informative.

  • @praveenpg
    @praveenpg Před 9 měsíci +1

    One correction I would like to make is the Java platform thread maps to an Operating System thread, not hardware thread.

    • @DevXplaining
      @DevXplaining  Před 9 měsíci

      Hi, thank you, you are if course absolutely right there. My mouth got ahead of my brains there I think :)

  • @manwej
    @manwej Před 9 měsíci +1

    Hi, could you add timestamps? And also what jdk version would you use in production?

    • @DevXplaining
      @DevXplaining  Před 9 měsíci +1

      Hi, thank you! I'll see what I can do about the timestamps.
      I always try to run latest LTS Java in production, no reason not to. Right now that would be 21, earlier it waa mostly 17.