Conversation
|
Factory update: the Gitar finding is fixed locally in Generated by AI Factory |
fd8c292 to
8574e19
Compare
✅ Code review updated (blocking issues remain unresolved).
This comment has been minimized.
This comment has been minimized.
8574e19 to
87c53b7
Compare
|
Addressed the current Gitar findings in
Validation: focused parser-semantic Maven suite passed; changed-file secrets scan passed; deep Vortex analysis found no introduced CRITICAL or HIGH findings. Generated by AI Factory |
87c53b7 to
1efac81
Compare
|
Addressed the CI regression in The recovered-binding test no longer asserts an ECJ-dependent qualified name. The normal union-type test continues to verify the stable public union semantics. Validation: Generated by AI Factory |
1efac81 to
7f58c8b
Compare
|
Addressed the current Gitar findings in
Validation: Generated by AI Factory |
7f58c8b to
48f3411
Compare
|
Addressed the latest Gitar findings in
Validation: focused parser-semantic Maven suite passed; changed-file secrets scan passed; deep Vortex analysis found only pre-existing findings at lines 609 and 1272, outside this change. Generated by AI Factory |
23cfcb4 to
68334e3
Compare
|
Addressed the SonarQube coverage gate in The semantic test now exercises recovery of a union alternative with a missing binding, covering the remaining Validation: Generated by AI Factory |
68334e3 to
9c5fa53
Compare
|
Addressed the SonarQube quality-gate issue in
Validation: Generated by AI Factory |
Expose union type alternatives through the semantic type API and derive a stable qualified name for multi-catch types.
9c5fa53 to
cf7ab00
Compare
|
Addressed the latest Gitar review in
Validation: Generated by AI Factory |
Code Review ✅ Approved 9 closed / 9 findings🔴 High risk · Public Type API adds abstract methods that may break external implementations Fixes union type fully qualified names in multi-catch clauses so they report their alternatives instead of the common exception superclass name. Union types now have a stable, sorted pipe-separated FQN, the Type API gains ✅ 9 closed✅ Bug: Union alternatives keyed on shared LUB binding change every same-type use
✅ Bug: Catch variable
|
| Auto-apply | Compact |
|
|
Was this helpful? React with 👍 / 👎 | Gitar
|
|
This PR is stale because it has been open 7 days with no activity. If there is no activity in the next 7 days it will be closed automatically |




SONARJAVA-5718 Fix fullyQualifiedName() on Union types
https://sonarsource.atlassian.net/browse/SONARJAVA-5718
Union types in multi-catch clauses now have unique fully qualified names instead of the common exception superclass name.
The semantic Type API identifies union types and returns their alternatives. The parser retains resolved alternatives, and the type model produces a stable, sorted pipe-separated fully qualified name.
Compatibility: Type gains isUnionType() and getUnionTypes(). Non-union and unknown types retain a single-type fallback.
Acceptance criteria: multi-catch types now expose their alternatives and report the expected qualified name. Focused parser-semantic validation passes.
Validation: mvn -B -ntp -pl java-frontend -am -Dtest=JParserSemanticTest -Dsurefire.failIfNoSpecifiedTests=false test passed after rebase. The broader reactor test fails before java-frontend in TestClasspathUtilsTest.test_modules_classpath under Java 26; the identical failure reproduces at the merge base.
Vortex: context guidance informed the explicit API defaults, stable naming, and semantic regression coverage. Deep agentic analysis ran with enabled entitlement and project binding. It found no introduced CRITICAL or HIGH findings; the 14 reported findings are pre-existing outside changed lines.
No migration is required.
This pull request was opened as a draft by the autonomous factory. It may be marked ready only after its mechanical gates pass, and it still requires human approval and merge.
Generated by AI Factory