RFR: 8303374: Implement JEP 455: Primitive Types in Patterns, instanceof, and switch (Preview) [v55]

Aggelos Biboudis abimpoudis at openjdk.org
Fri Jan 26 18:02:58 UTC 2024


> This is the proposed patch for Primitive types in patterns, instanceof, and switch (Preview).
> 
> Draft spec here: https://cr.openjdk.org/~abimpoudis/instanceof/latest/

Aggelos Biboudis has updated the pull request incrementally with one additional commit since the last revision:

  Remove redundant null check  and introduce a const boolean for unconditionally exact pairs

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/15638/files
  - new: https://git.openjdk.org/jdk/pull/15638/files/854c20a1..e466cfba

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=15638&range=54
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=15638&range=53-54

  Stats: 12 lines in 1 file changed: 0 ins; 9 del; 3 mod
  Patch: https://git.openjdk.org/jdk/pull/15638.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/15638/head:pull/15638

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


More information about the compiler-dev mailing list