Tagged articles

JDK14

2 articles · Page 1 of 1
FunTester
FunTester
Apr 26, 2024 · Fundamentals

Mastering Java 14 Records: Compact Constructors, Limitations, and Practical Examples

This article explains Java 14’s preview feature records, showing how they replace verbose classes with concise data carriers, detailing automatically generated members, compact constructors for validation, inherent limitations, and new reflection methods, all illustrated with clear code examples.

CompactConstructorJDK14Records
0 likes · 5 min read
Mastering Java 14 Records: Compact Constructors, Limitations, and Practical Examples
Java Backend Technology
Java Backend Technology
Sep 12, 2023 · Fundamentals

How Java 14’s Enhanced NullPointerException Supercharges Debugging

Java 14 introduces enhanced NullPointerException messages via JEP 358, allowing developers to pinpoint the exact variable that is null, with optional JVM flag activation, lazy computation, and considerations for debug information, ultimately speeding up debugging and improving code reliability.

JDK14JEP358NullPointerException
0 likes · 6 min read
How Java 14’s Enhanced NullPointerException Supercharges Debugging