Skip to content

[java] Followup for #7008 (HardCodedCryptoKey): Fix FN when hard-coded fallback value is present - #7084

Merged
adangel merged 3 commits into
pmd:mainfrom
lukasgraef:issue7008
Sep 18, 2026
Merged

adangel merged 3 commits into
pmd:mainfrom
lukasgraef:issue7008

Conversation

@lukasgraef

@lukasgraef lukasgraef commented Sep 17, 2026 •

Copy link
Copy Markdown
Member

Describe the PR

Resolves FN that would have been introduced with the recent changes to HardCodedCryptoKey.
See comment: #7008 (comment)

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)

@lukasgraef lukasgraef changed the title Followup for #7008 (HardCodedCryptoKey): Fix FN when hard-coded fallback value is present [java] Followup for #7008 (HardCodedCryptoKey): Fix FN when hard-coded fallback value is present Sep 17, 2026
@pmd-actions-helper

pmd-actions-helper Bot commented Sep 17, 2026 •

Copy link
Copy Markdown
Contributor

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.
There are 0 changed duplications, 0 new duplications and 0 removed duplications.
There are 0 changed CPD errors, 0 new CPD errors and 0 removed CPD errors.

Regression Tester Report

(comment created at 2026-09-18 14:39:31+00:00 for e64b2db)

@lukasgraef
lukasgraef marked this pull request as ready for review September 17, 2026 11:18
@adangel adangel added this to the 7.28.0 milestone Sep 18, 2026

@adangel adangel left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@adangel
adangel merged commit 3bec06f into pmd:main Sep 18, 2026
2 checks passed
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] HardCodedCryptoKey: False positive when the key comes from System.getProperty()

2 participants