Skip to content

Enable PMD ExhaustiveSwitchHasDefault #20776

Closed

Description

@romani

pmd/pmd#5514 is fixed
after PMD do release, end of July 2026
enable at

<!-- until https://github.com/pmd/pmd/issues/5514 -->
<exclude name="ExhaustiveSwitchHasDefault"/>

Activity

  1. sahitya0xsingh commented on Jul 15, 2026

    @sahitya0xsingh
    Contributor

    Hi @romani, I'd like to work on this issue.

    My plan is to:

    • remove the temporary exclusion for ExhaustiveSwitchHasDefault from config/pmd.xml,
    • run PMD to identify any violations introduced by enabling the rule,
    • fix any reported violations, and
    • verify the build passes before opening a PR.
  2. romani commented on Jul 15, 2026

    @romani
    MemberAuthor

    not ready, as pmd is not yet released fix, they just closed issue.

  3. sahitya0xsingh commented on Jul 15, 2026

    @sahitya0xsingh
    Contributor

    Thanks for the clarification. I'll wait until the PMD release includes the fix before working on this issue.

  4. ivamly commented on Jul 20, 2026

    @ivamly
    Contributor

    Maybe should mark it as blocked?

  5. added a commit that references this issue on Sep 7, 2026
  6. added a commit that references this issue on Sep 10, 2026
  7. romani commented on Sep 10, 2026

    @romani
    MemberAuthor

    Fix is merged

  8. added this to the 14.1.1 milestone on Sep 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions