Showing content from https://github.com/pmd/pmd/issues/3809 below:
[java] Support JDK 18 · Issue #3809 · pmd/pmd · GitHub
OpenJDK 18 GA is scheduled for 2022/03/22.
So we should add support for that with the next PMD version.
The following JEPs are important for us:
- JEP 413: Code Snippets in Java API Documentation
- JEP 420: Pattern Matching for switch (Second Preview)
In summary: https://javaalmanac.io/jdk/18/
This issue is similar to the previous: #3366
EA Release of JDK18 is available here: http://jdk.java.net/18/
Tasks:
- Add new java language versions 18 and 18-preview.
- 18 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) as a preview feature, mark AST classes as experimental, if needed.
- Remove java language version 16-preview
- update also java.md and ant.md
- update KotlinTestingDsl.kt
- Write release notes
- Prepare merge for PMD 7 -> [java] Merge "Support JDK 18 #3837" into pmd/7.0.x #3838
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