Repository navigation
Conversation
bbb6daa to
eefc450
Compare
eefc450 to
bb822e7
Compare
bb822e7 to
2a830b6
Compare
5498a07 to
282b42b
Compare
282b42b to
d13a3f2
Compare
d13a3f2 to
a84e7b0
Compare
a84e7b0 to
a0d49f6
Compare
a0d49f6 to
45c559b
Compare
45c559b to
523956b
Compare
b6c0a16 to
edd8ae3
Compare
edd8ae3 to
c0f56c2
Compare
c0f56c2 to
2253d6a
Compare
2253d6a to
9eff99e
Compare
9eff99e to
4bf6d09
Compare
4bf6d09 to
11ece98
Compare
11ece98 to
ddb53a3
Compare
ddb53a3 to
932ddf2
Compare
932ddf2 to
b9ee141
Compare
b9ee141 to
6653bda
Compare
Code Review ✅ Approved 🟡 Medium risk 11 closed / 11 findingsAdding cast and catch-flow warning derivation changes Java analysis diagnostics; incorrect type-flow inference could emit or suppress warnings in affected code. Derives
✅ 11 closed✅ Bug: Overload check misses inherited methods, so casts get falsely flagged
✅ Quality: assignedTo test passes for argument casts only because ECJ symbols are used
✅ Bug: Widening primitive cast into a reference target is flagged as redundant
✅ Bug: Intersection casts flagged redundant using only the first bound
✅ Edge Case: Unnamed variable
|
| Auto-apply | Compact |
|
|
Was this helpful? React with 👍 / 👎 | Gitar
|




Part 14 of 17 of JAVA-7392. Ticket: JAVA-7404.
Intent
Add the two remaining warning kinds the checks read: redundant casts and unreachable catch blocks.
From
Warnings.expected.txtandCastContexts.expected.txt, identical to ECJ:Test plan
CastChecksTest,ThrownTypesTestsame_warnings_as_ecjnow compares all four kindsSummary by Gitar
REDUNDANT_CASTderivation for widening, identity, assignment-context, and binary promotion casts viaCastChecksMASKED_CATCHderivation for unreachable checked catch blocks viaThrownTypespreservesArgumentstoSubstitutionfor generic argument checksThis will update automatically on new commits.