> This is the proposed patch for Primitive types in patterns, instanceof, and > switch (Preview). > > Draft spec here: https://cr.openjdk.org/~abimpoudis/instanceof/latest/
Aggelos Biboudis has updated the pull request incrementally with 11 additional commits since the last revision: - Merge branch 'primitive-patterns-and-generating-dispatch' into primitive-patterns - Fixed switch in the cases of unboxing and widening - Merge branch 'JDK-8319220' into primitive-patterns - Merge branch 'master' into JDK-8319220 - reflecting review comment: fixing letter case. - Reflecting review feedback. - Some more get->orElseThrow - Reflecting review feedback. - Avoiding generating dead code - review feedback. - Cleanup. - ... and 1 more: https://git.openjdk.org/jdk/compare/2b2405cc...fac9ca98 ------------- Changes: - all: https://git.openjdk.org/jdk/pull/15638/files - new: https://git.openjdk.org/jdk/pull/15638/files/2b2405cc..fac9ca98 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=15638&range=33 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=15638&range=32-33 Stats: 689 lines in 5 files changed: 423 ins; 222 del; 44 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