> This is the proposed patch for Primitive types in patterns, instanceof, and > switch (Preview). > > Draft spec here: > https://cr.openjdk.org/~abimpoudis/instanceof/jep455-20231030/specs/instanceof-jls.html
Aggelos Biboudis has updated the pull request incrementally with one additional commit since the last revision: Add test for instanceof as a pattern on with record patterns ------------- Changes: - all: https://git.openjdk.org/jdk/pull/15638/files - new: https://git.openjdk.org/jdk/pull/15638/files/b437373b..a7f778ca Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=15638&range=27 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=15638&range=26-27 Stats: 192 lines in 4 files changed: 162 ins; 18 del; 12 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