> 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/jep443-20231010/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 23 additional commits since the last revision: - Merge branch 'master' into primitive-patterns - Update name of exactness methods class - Merge branch 'master' into primitive-patterns - Adjust tests Co-authored-by: Jan Lahoda <jan.lah...@oracle.com> Co-authored-by: Angelos Bimpoudis <angelos.bimpou...@oracle.com> - Fix exhaustiveness check for primitive types - Add tests - Improve non integral check - Fixing error conditions, tweaking tests. - Attempting to improve reported errors. - Add comment for TypePairs - ... and 13 more: https://git.openjdk.org/jdk/compare/68beac56...3c0d85e9 ------------- Changes: - all: https://git.openjdk.org/jdk/pull/15638/files - new: https://git.openjdk.org/jdk/pull/15638/files/27c2aab6..3c0d85e9 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=15638&range=17 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=15638&range=16-17 Stats: 1754 lines in 30 files changed: 800 ins; 788 del; 166 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