Tagged articles
8 articles
Page 1 of 1
政采云技术
政采云技术
Jan 25, 2024 · Fundamentals

Java JDK 12‑17 New Features and Enhancements Overview

This article provides a comprehensive overview of the major language and runtime enhancements introduced in JDK 12 through JDK 17, covering switch expressions, micro‑benchmarking with JMH, class‑data sharing, garbage‑collector improvements, new String methods, hidden and sealed classes, records, and unified asynchronous logging, all illustrated with code examples.

Garbage CollectionJDKJMH
0 likes · 23 min read
Java JDK 12‑17 New Features and Enhancements Overview
Architecture Digest
Architecture Digest
Aug 23, 2023 · Fundamentals

Key New Features in Java 17: Text Blocks, Records, Switch Expressions, Pattern Matching, Sealed Classes, and Improved NullPointerException

The article reviews the most notable Java 17 language enhancements—including text blocks, records, concise switch expressions, pattern‑matching instanceof, sealed classes, and richer NullPointerException messages—explaining their syntax, benefits, and providing side‑by‑side code comparisons with Java 11.

Sealed ClassesText Blocksjava-17
0 likes · 9 min read
Key New Features in Java 17: Text Blocks, Records, Switch Expressions, Pattern Matching, Sealed Classes, and Improved NullPointerException
Programmer DD
Programmer DD
Dec 13, 2021 · Backend Development

Why Java 14’s New Switch Expression and Null‑Pointer Messages Matter

This article explains Java 14’s revamped switch expression syntax—including the concise case‑label arrow, the new yield keyword for returning values, and improved NullPointerException messages—showing how these changes simplify code and make debugging clearer.

JavaJava 14Yield
0 likes · 6 min read
Why Java 14’s New Switch Expression and Null‑Pointer Messages Matter
Senior Brother's Insights
Senior Brother's Insights
Mar 23, 2020 · Backend Development

Explore Java 14: New Language Features and How to Use Them

This article introduces the JDK 14 release, lists its sixteen new features—including pattern‑matching instanceof, switch expressions, record types, and text blocks—explains required IDE support, and provides concrete code examples and usage guidelines for each feature.

New FeaturesText Blocksjava14
0 likes · 8 min read
Explore Java 14: New Language Features and How to Use Them
High Availability Architecture
High Availability Architecture
Mar 19, 2020 · Backend Development

New Features in Java 14: Switch Expressions, Pattern Matching for instanceof, Helpful NullPointerExceptions, Records and More

The article introduces the major Java 14 enhancements—including standard switch expressions, preview pattern matching for instanceof, more informative NullPointerExceptions, preview records, text blocks, and several JVM and library improvements—while providing code examples that illustrate how each feature simplifies Java development.

JEPJava 14nullpointerexception
0 likes · 6 min read
New Features in Java 14: Switch Expressions, Pattern Matching for instanceof, Helpful NullPointerExceptions, Records and More
Architect's Tech Stack
Architect's Tech Stack
Oct 3, 2019 · Fundamentals

Detailed Overview of JDK 13 New Features

This article provides a comprehensive English summary of JDK 13's new features—including switch expression enhancements, text‑block syntax, dynamic CDS archives, ZGC memory reclamation, revamped socket APIs, new FileSystems methods, updated NIO ByteBuffer operations, the Reiwa era in java.time, Unicode 12.1 support, GC improvements, security updates, and removed legacy functionalities—accompanied by original Java code examples.

CDSJavaNew Features
0 likes · 11 min read
Detailed Overview of JDK 13 New Features