Skip to content

[java] Support JDK 17 (LTS) #3366

@adangel

Description

@adangel

OpenJDK 17 GA is scheduled for 2021/09/14.
So we should add support for that at the latest with PMD 6.38.0 (August 2021) or earlier.

The following JEPs are important for us:

  • JEP 406: Pattern Matching for switch (Preview)
  • JEP 409: Sealed Classes

In summary: https://javaalmanac.io/jdk/17/

This issue is similar to the previous: #3079

EA Release of JDK17 is available here: http://jdk.java.net/17/

Tasks:

Metadata

Metadata

Assignees

Labels

an:enhancementAn improvement on existing features / rules

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions