> 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 with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains four additional commits since the last revision: - Merge branch 'master' into primitive-patterns - Implement type pairs to exactnessMethod name - Apply suggestions from code review Co-authored-by: Raffaello Giulietti <raffaello.giulie...@oracle.com> - 8303374: Compiler Implementation for Primitive types in patterns, instanceof, and switch (Preview) ------------- Changes: - all: https://git.openjdk.org/jdk/pull/15638/files - new: https://git.openjdk.org/jdk/pull/15638/files/1ae06ac8..ad6071b0 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=15638&range=02 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=15638&range=01-02 Stats: 28829 lines in 719 files changed: 17870 ins; 8464 del; 2495 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