#Java18 comes out later today - what can you expect from Java's newest release? Here's a 🧵 with one tweet per feature - short and sweet. For more details and links, read this blog post: nipafx.dev/inside-java-ne… For questions, join our #JDK18 AMA later today. 👇🏾
#Java18 comes out later today - what can you expect from Java's newest release? Here's a 🧵 with one tweet per feature - short and sweet. For more details and links, read this blog post: nipafx.dev/inside-java-ne… For questions, join our #JDK18 AMA later today. 👇🏾
Pattern Matching for `switch` (2nd preview) openjdk.java.net/jeps/420 Changes: * constant case labels must now appear before guarded patterns of the same type * exhaustiveness checking is now more precise when sealed classes and generics mix Another preview is expected in #JDK19.
Vector API (3rd incubation) openjdk.java.net/jeps/417 Changes: * support for ARM Scalar Vector Extension (SVE) * performance for masked ops improved on architectures that support masking in hardware Vector API will stay incubating until Valhalla's value/primitive types.