GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [java] Report missing classes during analysis · Issue #5064 · pmd/pmd

[java] Report missing classes during analysis #5064

New issue
Copy link
New issue
Copy link
Open
Open
[java] Report missing classes during analysis#5064
Copy link
Labels
an:enhancementAn improvement on existing features / rulesin:type-resolutionAffects the type resolution code

Description

@adangel
adangel
opened on Jun 11, 2024
Issue body actions

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

  • See the problem here: [MPMD-399] Incorrect warning: The project X does not seem to be compi… apache/maven-pmd-plugin#154 (review)
  • And [java] matchesSig does not match some signatures that it should #6113
  • And Inidcate unresolved imports pmd-designer#258
  • And [java] UnusedPrivateMethod: False positive with overloaded private methods called with values returned from methods defined in other classes #6393
  • And [java] CloneMethodMustImplementCloneable: False positive when Cloneable is a super interface #6345
  • And Rule: EnumComparison in a multi-module project #6418
  • And [java] UnnecessaryImport: False positive for on-demand imports with incomplete aux-classpath #7215

Activity

  1. adangel
    added
    an:enhancementAn improvement on existing features / rules
    on Jun 11, 2024
  2. adangel
    added
    in:type-resolutionAffects the type resolution code
    on Jan 31, 2025
  3. adangel
    added 2 commits that reference this issue on Jan 29, 2026

    [doc] chore: add keywords for auxclasspath in Java documentation

    ed72b32

    [doc] chore: add keywords for auxclasspath in Java documentation (#6429)

    e91caec
  4. wener-tiobe
    added a commit that references this issue on Feb 10, 2026

    RM-37163: CPD 7.21.0 upgrade (#8)

    6a1959a
  5. adangel
    added a commit that references this issue on Jul 9, 2026

    fix: when verifying auxclasspath allow not existing directory entries

    3fb521b
  6. adangel
    added a commit that references this issue on Jul 16, 2026

    [core] Fix #4953: Deprecate PMDConfiguration#getClassLoader (#6845)

    5e92c27
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:enhancementAn improvement on existing features / rulesin:type-resolutionAffects the type resolution code

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.