Skip to content

[java] Report missing classes during analysis #5064

Open

Description

@adangel

Is your feature request related to a problem? Please describe.
This is about type resolution and the configured auxclasspath. In case the auxclasspath is incomplete or missing, PMD wouldn't work correctly, e.g. reporting false positives / false negatives.

Describe the solution you'd like
Report any classes that are missing on the auxclasspath during analysis. If these classes are reported e.g. as "processing errors" (I know, we trying to renaming these to recoverable errors, but missing class is not recoverable in general), other tools like maven could fail the build based on that.

Describe alternatives you've considered
?

Additional context

Activity

  1. added
    an:enhancement
    on Jun 11, 2024
  2. added
    in:type-resolution
    on Jan 31, 2025
  3. added a commit that references this issue on Feb 10, 2026
  4. added a commit that references this issue on Jul 16, 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

    Labels

    an:enhancementin:type-resolution

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions