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

Aggelos Biboudis abimpoudis at openjdk.org
Wed Jan 24 14:58:55 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:

  Check the range of the new types of switch through TypeTag.isInSuperClassesOf

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/15638/files
  - new: https://git.openjdk.org/jdk/pull/15638/files/663c7a54..9b7fb7fc

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

  Stats: 12 lines in 2 files changed: 4 ins; 7 del; 1 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