Showing content from https://github.com/pmd/pmd/issues/4794 below:
[java] Support JDK 22 · Issue #4794 · pmd/pmd · GitHub
OpenJDK 22 GA is scheduled for 2024/03/19.
The following JEPs are important for us:
In summary: https://javaalmanac.io/jdk/22/
This issue is similar to the previous: #4583
EA Release of JDK22 is available here: https://jdk.java.net/22/
Tasks:
- Add new java language versions 22 and 22-preview:
net.sourceforge.pmd.lang.java.JavaLanguageModule
- 22 is the new default
- update also java.md and ant.md
- and add in KotlinTestingDsl.kt.
- Update
net.sourceforge.pmd.lang.java.LanguageVersionTest
- Update
net.sourceforge.pmd.lang.java.JavaLanguageModuleTest#previewVersionShouldBeGreaterThanNonPreview
- Update asm dependency to 9.6:
- Remove java language version 20-preview:
net.sourceforge.pmd.lang.java.JavaLanguageModule
- update also java.md
- update KotlinTestingDsl.kt
- remove exclusions in pmd-core/src/main/resources/internal/all-java.xml
- Update
net.sourceforge.pmd.lang.java.LanguageVersionTest
- Remove
net.sourceforge.pmd.lang.java.ast.Java20PreviewTreeDumpTest
(including resources)
- Update implementation for "String Templates" (430, 459)
- Update implementation for "Implicitly Declared Classes and Instance Main Methods" (445, 463)
- Update implementation for "Unnamed Variables & Patterns" (443, 456)
- Implement preview feature "Statements before super(...)" (447)
- Write release notes
- removed experimental:
- removed classes: -
- deprecated classes: -
- new experimental: -
- Add JDK22 to the build, so that we integration test with 22, as this is a LTS version
- integration test in pmd-dist
- Not necessary, as JDK22 is not LTS
- Make sure, we can build PMD with JDK22
- Update https://github.com/pmd/java-regression-tests
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