RFR: 8303374: Compiler Implementation for Primitive types in patterns, instanceof, and switch (Preview) [v16]
Aggelos Biboudis
abimpoudis at openjdk.org
Tue Oct 10 09:52:34 UTC 2023
> 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 21 additional commits since the last revision:
- Merge branch 'master' into primitive-patterns
- Adjust tests
Co-authored-by: Jan Lahoda <jan.lahoda at oracle.com>
Co-authored-by: Angelos Bimpoudis <angelos.bimpoudis at 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
- Fix Lower.visitTypeTest
- Merge branch 'master' into primitive-patterns
- ... and 11 more: https://git.openjdk.org/jdk/compare/5ea9a0ea...3030dc14
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/15638/files
- new: https://git.openjdk.org/jdk/pull/15638/files/bab26337..3030dc14
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=15638&range=15
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=15638&range=14-15
Stats: 5174 lines in 100 files changed: 3529 ins; 943 del; 702 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
More information about the core-libs-dev
mailing list