RFR: 8303374: Compiler Implementation for Primitive types in patterns, instanceof, and switch (Preview) [v26]

Aggelos Biboudis abimpoudis at openjdk.org
Sun Oct 29 18:56:07 UTC 2023


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

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

  Add tests for new data types in switch statements

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/15638/files
  - new: https://git.openjdk.org/jdk/pull/15638/files/fa6256b4..b391a48d

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

  Stats: 74 lines in 1 file changed: 70 ins; 0 del; 4 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 core-libs-dev mailing list