RFR: 8359145: Implement JEP 530: Primitive Types in Patterns, instanceof, and switch (Fourth Preview) [v3]

Aggelos Biboudis abimpoudis at openjdk.org
Thu Oct 30 10:08:55 UTC 2025


> PR for Primitive Types in Patterns, instanceof, and switch (Fourth Preview).
> 
> spec: https://cr.openjdk.org/~abimpoudis/instanceof/latest/

Aggelos Biboudis has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains three additional commits since the last revision:

 - Merge branch 'master' into JDK-8359145
   
   # Conflicts:
   #	src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Flow.java
 - Address review
 - 8359145: JEP 530: Implement Primitive Types in Patterns, instanceof, and switch (Fourth Preview)

-------------

Changes:
  - all: https://git.openjdk.org/jdk/pull/27637/files
  - new: https://git.openjdk.org/jdk/pull/27637/files/f1448e1b..8a17c55a

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=27637&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=27637&range=01-02

  Stats: 36486 lines in 973 files changed: 21635 ins; 9436 del; 5415 mod
  Patch: https://git.openjdk.org/jdk/pull/27637.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/27637/head:pull/27637

PR: https://git.openjdk.org/jdk/pull/27637


More information about the compiler-dev mailing list