Java 20 New Features | Scoped Values and beyond Java 20

Sdílet
Vložit
  • čas přidán 21. 07. 2024
  • Java 20 will be released by the end of March 2023. Time to talk about new features of Java 20. The most important really new feature will be the Scoped Values, so I'll explain that in-depth, and also go through other new things to expect with a bit fewer details, to keep this video short and sweet.
    Remember, this is the year of Java, as the next TLS version of Java, Java 21, will be released later this year. Most of the new Java features I've already been discussing on my channel will be considered to be part of it, and as a long-term support version, it's going to be around for quite some time. So this is a good time as any to start learning what will change for Java coders.
    If you like my channel and my videos, please let it show by clicking that thumbs-up icon, and also any feedback, or requests are much welcome in the comment section! And of course, subscribe to my channel to see my upcoming content in your feed!
    Here are some links to follow, if you like to get some more information:
    - openjdk.org/projects/jdk/20/
    - openjdk.org/jeps/429 (Scoped Values JEP 429)
    - • Java 19 And Beyond | N... (Virtual Threads JEP 436 and Structured concurrency JEP 437)
    - • Java 19 and beyond | W... (Pattern Matching for switch JEP 433 and Records Patterns JEP 432)

Komentáře • 10

  • @adrianrostkowski3271
    @adrianrostkowski3271 Před rokem +1

    Great video :D

  • @AbhishekSaxenaEnggIT
    @AbhishekSaxenaEnggIT Před 4 měsíci +1

    Great Explanation.

  • @praveensubramani.s
    @praveensubramani.s Před 6 měsíci +1

    Love from India 😍🤩

  • @encapsulatio
    @encapsulatio Před rokem +2

    When will Project Valhalla JEP actually be properly previewed?

    • @DevXplaining
      @DevXplaining  Před rokem

      An excellent question! I don't have a solid answer, but my crystall ball says: Not in Java 21.
      Of course we've had some parts already sneak in, and more available in early access, so might make for a good little video to cover it.

    • @encapsulatio
      @encapsulatio Před rokem

      @@DevXplaining Not even Java 21?
      They started working on it in 2014 and still not properly finished the work in 2023. At this point it does not look like is going to be finished.