Skip to content

Fix #5344: [java] Just log invalid annotation target type #5899

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

adangel
Copy link
Member

@adangel adangel commented Jul 11, 2025

Describe the PR

No error is logged anymore.

The debug logging looks like this:

[DEBUG] Invalid target type CLASS_EXTENDS of type annotation @org.checkerframework.checker.nullness.qual.Nullable for method or ctor detected. The annotation is ignored. Method: com.google.common.collect.MultimapBuilder#hashKeys. See https://github.com/pmd/pmd/issues/5344.
[DEBUG] Invalid target type CLASS_EXTENDS of type annotation @org.checkerframework.checker.nullness.qual.Nullable for method or ctor detected. The annotation is ignored. Method: com.google.common.collect.MultimapBuilder.MultimapBuilderWithKeys#hashSetValues. See https://github.com/pmd/pmd/issues/5344.

Related issues

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 7.16.0 milestone Jul 11, 2025
Copy link

github-actions bot commented Jul 11, 2025

Documentation Preview

Compared to main:
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.

Regression Tester Report

(comment created at 2025-07-19 17:33:29+00:00 for 2dff3a7)

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] IllegalArgumentException: Invalid type reference for method or ctor type annotation: 16
1 participant
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy