Commit ed2494f
Update Java 26 tests with JEP 530 (Primitive Types in Patterns) coverage
Replace generic test files from #3740 with JEP 530-specific test cases:
- Foo.java: primitive type pattern in switch with when guard
- Bar.java: instanceof with primitive type pattern
- Update target platform JRE to JavaSE-26
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent a95c217 commit ed2494f
2 files changed
Lines changed: 11 additions & 6 deletions
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
10 | 14 | | |
11 | 15 | | |
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | | - | |
10 | | - | |
11 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
0 commit comments