LazyConstants in JDK 26 - Inside Java Newscast #106
A deep dive into the LazyConstants preview feature in JDK 26, exploring its API, the concept of laziness in Java, and its evolution from stable values.
Nicolai Parlog (nipafx) is a Java Developer Advocate at Oracle who shares deep insights on Java through blogs, talks, books, videos, and open-source projects, helping developers learn and grow.
297 articles from this blog
A deep dive into the LazyConstants preview feature in JDK 26, exploring its API, the concept of laziness in Java, and its evolution from stable values.
Explores the concept of 'carrier classes' in Java, a proposed generalization of records, and discusses recent developments in Project Amber.
A look at Java's 2026 roadmap, covering updates on major OpenJDK projects like Valhalla, Leyden, Amber, and Loom from a Java Developer Advocate.
A review of Java's key developments in 2025, covering major OpenJDK projects like Panama, Loom, and Babylon, from the Inside Java Newscast.
Overview of new features in Java 26, including HTTP/3 support, G1 performance improvements, and updates to structured concurrency.
Java 26 introduces warnings and restrictions on using reflection to mutate final fields, a significant change for developers.
A Java developer answers community questions about working on Oracle's Java Platform Group, the Inside Java Newscast, and team collaboration.
Java Developer Advocate Nicolai Parlog discusses Project Valhalla's new early-access build and JEP 401, resetting expectations for Java's major refactor.
Explores three upcoming improvements to the G1 garbage collector in Java, including simpler write barriers and performance enhancements.
A comprehensive overview of new APIs and features introduced in Java versions 21 through 25, including Scoped Values, Stream Gatherers, and the Foreign Function API.
A deep dive into Java 25's structured concurrency API, covering its features, error handling, and practical application with code examples.
A detailed guide covering key changes, deprecations, and quality heads-up when upgrading from Java 21 to Java 25.
Java architects answer community questions on switch expressions, Leyden, Valhalla, Project Amber, and the future of Java in this Newscast episode.
Explains the upcoming HTTP/3 support in Java's HTTP Client API, detailing the simple API change and connection negotiation.
Explores the early plans and motivations for adding a native JSON API to the Java Development Kit (JDK), focusing on simplicity and basic use cases.
Explains why Java 25 is not an LTS version, clarifying JDK support models and vendor responsibilities in the Java ecosystem.
Java 25 introduces a new preview API for easily encoding and decoding cryptographic objects in the PEM text format, addressing a key developer pain point.
Overview of JDK 25's 18 new features, including finalized and preview language, API, and runtime enhancements.
Overview of the revamped structured concurrency API in Java 25, a key feature for managing concurrent tasks with virtual threads.
Highlights from JavaOne 2025, covering AOT training, garbage collection, Maven builds, and future Java features like value types.