So is time to celebrate! We got a new box of toys with the new release of Java! This is also a Long-Term-Support release which means that's usually a "good one" to jump into! Switch Expressions! Helpful Nullpointers, Sealed Classes... there is a TON that's new
And we got the best Doctor in town to walk us through all of them. We're of course talking about Stuart Marks! (AKA Dr. Deprecator). We cover most of the important features from 11 to 17 (there's a ton that was left out, so keep following the links to know more!)
http://www.javapubhouse.com/datadog
We thank DataDogHQ for sponsoring this podcast episode
Don't forget to SUBSCRIBE to our cool NewsCast OffHeap!
http://www.javaoffheap.com/
Language Features
Pattern Matching for instanceof
https://docs.oracle.com/en/java/javase/16/language/pattern-matching-instanceof-operator.html
Switch Expressions
https://docs.oracle.com/en/java/javase/13/language/switch-expressions.html
Sealed Classes
https://docs.oracle.com/en/java/javase/15/language/sealed-classes-and-interfaces.html
Text Blocks
https://docs.oracle.com/en/java/javase/13/text_blocks/index.html
Debugging Features
Helpful NullPointerExceptions
https://www.baeldung.com/java-14-nullpointerexception
Performance Features
New Garbage Collectors (Shenandoah, ZGC)
https://blogs.oracle.com/javamagazine/post/understanding-the-jdks-new-superfast-garbage-collectors
Unix-Domain Socket Channels
https://openjdk.java.net/jeps/380
Deprecation & Platform evolution
Remove the Nashorn JavaScript Engine (Plug Graal!)
https://openjdk.java.net/jeps/372
Deprecate the Security Manager for Removal and Applets
https://openjdk.java.net/jeps/411
Strongly Encapsulate JDK Internals
https://openjdk.java.net/jeps/403
Warnings for Value-Based Classes
https://openjdk.java.net/jeps/390
Do you like the episodes? Want more? Help us out! Buy us a beer!
https://www.javapubhouse.com/beer
And Follow us!
https://www.twitter.com/javapubhouse
More episodes from "Java Pub House"
Don't miss an episode of “Java Pub House” and subscribe to it in the GetPodcast app.