aboutsummaryrefslogtreecommitdiffstats
path: root/tests/features1919/java19/SwitchPatternPreview3Error2.java
Commit message (Collapse)AuthorAgeFilesLines
* Add the first few Java 19 testsAlexander Kriegisch2022-10-031-0/+21
For now, only the "pattern matching for switch" tests from previews 1 and 2 were adjusted to work in preview 3, because guarded patterns were replaced by 'when' clauses in 'switch' blocks. Therefore, existing test classes did not compile anymore and had to be replaced by syntactically upgraded versions with content merged from preview 1 and 2 classes. Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>