Showing content from https://github.com/pmd/pmd/issues/4015 below:
[java] Support JDK 19 · Issue #4015 · pmd/pmd · GitHub
OpenJDK 19 GA is scheduled for 2022/09/20.
So we should add support for that with PMD version 6.49.0 or earlier.
The following JEPs are important for us:
In summary: https://javaalmanac.io/jdk/19/
This issue is similar to the previous: #3809
EA Release of JDK19 is available here: http://jdk.java.net/19/
Tasks:
- Add new java language versions 19 and 19-preview.
- 19 is the new default
- update also java.md and ant.md
- and add in KotlinTestingDsl.kt.
- Update asm dependency:
- Update implementation for "Pattern Matching for switch" (406, 420, 427) as a preview feature, mark AST classes as experimental, if needed.
- Implement "Record Patterns" (405) as a preview feature, mark AST classes as experimental, if needed.
- Remove java language version 17-preview
- update also java.md and ant.md
- update KotlinTestingDsl.kt
- remove exclusions in pmd-core/src/main/resources/internal/all-java.xml
- Write release notes
- deprecated classes: ASTGuardedPattern
- new experimental: ASTGuard, ASTRecordPattern, ASTRecordStructurePattern
- Prepare merge for PMD 7 as a new PR: [java] Support Java 19 (pmd7) #4039
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4