> 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: Fix Bootstrap initialization error by using `explicitCastArguments` for integral tests ------------- Changes: - all: https://git.openjdk.org/jdk/pull/15638/files - new: https://git.openjdk.org/jdk/pull/15638/files/248971be..fa6256b4 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=15638&range=24 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=15638&range=23-24 Stats: 38 lines in 2 files changed: 37 ins; 0 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