Skip to content

[java] Support JDK 18#3837

Merged
adangel merged 8 commits into
pmd:masterfrom
adangel:jdk-18
Mar 27, 2022
Merged

[java] Support JDK 18#3837
adangel merged 8 commits into
pmd:masterfrom
adangel:jdk-18

Conversation

@adangel

@adangel adangel commented Mar 10, 2022

Copy link
Copy Markdown
Member
  • Fixes [java] Support JDK 18 #3809

  • Note - Java 18 has no new standard language features, so I didn't create a Java18TreeDumpTest.

  • I didn't find any language change in the preview features for pattern matching, so basically no grammar changes are done (except for the version numbers).

  • I enhanced UnnecessaryImportRule to support the new @snippet // @link syntax in javadoc (JEP 413).

Ready?

  • Added unit tests for fixed bug/feature
  • Passing all unit tests
  • Complete build ./mvnw clean verify passes (checked automatically by github actions)
  • Added (in-code) documentation (if needed)

@adangel adangel added this to the 6.44.0 milestone Mar 10, 2022
@ghost

ghost commented Mar 10, 2022

Copy link
Copy Markdown
1 Message
📖 This changeset changes 0 violations,
introduces 0 new violations, 0 new errors and 0 new configuration errors,
removes 0 violations, 0 errors and 0 configuration errors.
Full report
This changeset changes 86 violations,
introduces 0 new violations, 0 new errors and 0 new configuration errors,
removes 1 violations, 0 errors and 0 configuration errors.
Full report

Generated by 🚫 Danger


Java Version |Alias | Supported by PMD since |
-------------|------|------------------------|
18-preview | | 6.44.0 |

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really cool idea this page!

Comment thread docs/pages/pmd/languages/java.md
@adangel adangel merged commit 8e5c5e4 into pmd:master Mar 27, 2022
@adangel adangel deleted the jdk-18 branch March 27, 2022 14:42
adangel added a commit that referenced this pull request Mar 27, 2022
[java] Merge "Support JDK 18 #3837" into pmd/7.0.x #3838
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[java] Support JDK 18

2 participants