> This is the first draft of a patch for Primitive types in patterns, > instanceof, and switch (Preview). > > Draft spec here: > https://cr.openjdk.org/~abimpoudis/instanceof/instanceof-20230913/specs/instanceof-jls.html
Aggelos Biboudis has updated the pull request incrementally with one additional commit since the last revision: Fix `checkUnconditionallyExact` and adjust the type of numeric constants (to primitive type) ------------- Changes: - all: https://git.openjdk.org/jdk/pull/15638/files - new: https://git.openjdk.org/jdk/pull/15638/files/c8b860d6..c041d208 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=15638&range=09 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=15638&range=08-09 Stats: 11 lines in 2 files changed: 3 ins; 3 del; 5 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