From Java 11 to Java 17

From Java 11 to Java 17

Fu Cheng
This is a sample of the book's content.Buy on Leanpub

Table of Contents

From Java 11 to Java 17

  • Introduction
    • Java Releases Schedule After Java 9
    • JEPs in Different Java Releases
    • Install Java 17
    • Build Tools
    • Source Code
  • Records
    • Value Objects
    • Alternatives
    • Use Records
  • Sealed Classes
    • Inheritance in Java
    • Sealed Classes
    • Sealed Interfaces
    • Sealed and Record Classes
    • Reflection API
    • Class File Changes
  • Switch Expressions
    • Problems with switch Statement
    • Switch Expression
    • Arrow Labels
  • Pattern Matching
    • Pattern Matching for instanceof
    • Pattern Matching for switch
  • Text Blocks
    • Text Blocks
    • Re-indentation
    • Escape Sequences
    • New String Methods
  • Low-level APIs
    • JFR Event Streaming
    • JVM Constants API
    • Hidden Classes
  • Standard Libraries
    • Unix-Domain Socket Channels
    • Reimplement the Legacy Socket API
    • Reimplement the Legacy DatagramSocket API
    • Enhanced Pseudo-Random Number Generators
    • New macOS Rendering Pipeline
    • Edwards-Curve Digital Signature Algorithm (EdDSA)
    • Context-Specific Deserialization Filters
  • JVM
    • Class-Data Sharing
    • Helpful NullPointExceptions
    • Elastic Metaspace
    • Deprecate and Disable Biased Locking
  • Packaging Tool
    • Use jpackage
    • Custom Runtime Image
  • Garbage Collectors
    • ZGC
    • Shenandoah
    • Deprecated GC
    • Removed GC
    • Updates to G1
  • Foreign Function & Memory API
    • Foreign Memory
    • Foreign Functions
  • Deprecated & Removed Features
    • Deprecated Features
    • Removed Features
  • Misc.
    • Restore Always-Strict Floating-Point Semantics
    • macOS/AArch64 Port
    • Alpine Linux Port
    • Strongly Encapsulate JDK Internals
    • Migrate to GitHub
From Java 11 to Java 17/Low-level APIs

Low-level APIs

https://leanpub.com/java11to17

JFR Event Streaming

https://leanpub.com/java11to17

Event Stream

https://leanpub.com/java11to17

Event

https://leanpub.com/java11to17

Example

https://leanpub.com/java11to17

JVM Constants API

https://leanpub.com/java11to17

Loadable Constants

https://leanpub.com/java11to17

Constants API

https://leanpub.com/java11to17

Constable

https://leanpub.com/java11to17

ConstantDesc

https://leanpub.com/java11to17

Hidden Classes

https://leanpub.com/java11to17

Names of Hidden Classes

https://leanpub.com/java11to17

Create Hidden Classes

https://leanpub.com/java11to17

Class Loading of Hidden Classes

https://leanpub.com/java11to17

Unloading of Hidden Classes

https://leanpub.com/java11to17

Stack Traces

https://leanpub.com/java11to17

Nest-based Access Control

https://leanpub.com/java11to17

Up next

Standard Libraries

In this chapter

  • Low-level APIs
  • JFR Event Streaming
  • JVM Constants API
  • Hidden Classes