> This is the first draft of a patch for JEP 440 and JEP 441. Changes included: > > - the pattern matching for switch and record patterns features are made > final, together with updates to tests. > - parenthesized patterns are removed. > - qualified enum constants are supported for case labels. > > This change herein also includes removal record patterns in for each loop, > which may be split into a separate PR in the future.
Jan Lahoda has updated the pull request incrementally with one additional commit since the last revision: Replacing use of mutable callsite with a mutable state. ------------- Changes: - all: https://git.openjdk.org/jdk/pull/13074/files - new: https://git.openjdk.org/jdk/pull/13074/files/bb59254e..d3d9cc60 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=13074&range=03 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=13074&range=02-03 Stats: 44 lines in 1 file changed: 15 ins; 23 del; 6 mod Patch: https://git.openjdk.org/jdk/pull/13074.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/13074/head:pull/13074 PR: https://git.openjdk.org/jdk/pull/13074