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

Aggelos Biboudis abimpoudis at openjdk.org
Tue Nov 18 14:48:27 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 pull request now contains eight commits:

 - Merge branch 'master' into JDK-8359145
 - Merge branch 'master' into JDK-8359145
 - Update comment
 - Merge branch 'master' into JDK-8359145
 - Fix regression in Check
 - 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: https://git.openjdk.org/jdk/pull/27637/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=27637&range=04
  Stats: 774 lines in 22 files changed: 714 ins; 10 del; 50 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