Repository navigation
JAVA-7382 Fix S1128 FPs when --release option shadows non-public members of JDK - #6558
Conversation
This comment has been minimized.
This comment has been minimized.
Ruling Diff SummaryDetected changes in 1 rule files: 4 issues removed, 0 issues added. S1128 (
|
david-schroeter
left a comment
There was a problem hiding this comment.
This PR looks good to me!
Just one very small nit.
Also the rulling are failing after the last modif, other than that it's ready to be merged.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…undant parentheses Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
52eab90 to
c74b54f
Compare
Code Review ✅ Approved 🟡 Medium risk 1 closed / 1 findingsThe S1128 checker filters unused-import warnings through identifier and member-scope resolution, which could suppress valid findings or flag imports incorrectly. Fixes S1128 false positives when the ✅ 1 closed✅ Edge Case: Suppression also hides imports that are really redundant via member scope
Verification Rules 3/3 met Repos 1 inspectedFunctional validation No results Rules 3 passed 2 not applicable
Broader impact Repos 1 inspectedCross-repo 1 repository inspected 0 open impactsAuto-approval Not enabledFor more verification details, comment OptionsAuto-apply is off → Gitar will not commit updates to this branch. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Gitar |
|




Summary by Gitar
--releaseAPI shadowingHiddenMemberTypes.javatest source and a test covering Java 17 and default API behaviorThis will update automatically on new commits.