Repository navigation
Conversation
145c4a2 to
89310b7
Compare
c37c80a to
b873a40
Compare
b873a40 to
01f8a91
Compare
01f8a91 to
43fd47a
Compare
834313e to
d5e33f2
Compare
d5e33f2 to
96071b2
Compare
96071b2 to
968c938
Compare
7eaebf7 to
7641997
Compare
7641997 to
c318ac5
Compare
8229122 to
f404fff
Compare
This comment has been minimized.
This comment has been minimized.
f404fff to
b332ab1
Compare
b332ab1 to
1d2d2d4
Compare
1d2d2d4 to
477b5ac
Compare
CI failed: The Ruling Update and Notify job failed because it could not download actual_* artifacts, since the prerequisite Ruling QA job was cancelled. The log does not show why Ruling QA was cancelled, and the finding is not attributed to this PR's overload-ranking change.OverviewThe Ruling Update and Notify job failed because it could not download actual_* artifacts, since the prerequisite Ruling QA job was cancelled. The log does not show why Ruling QA was cancelled, and the finding is not attributed to this PR's overload-ranking change. FailuresRuling Update and Notify failed to download actual_* artifacts after Ruling QA was cancelled (job 140420034075, not related to PR)
Summary
Code Review ✅ Approved 🟡 Medium risk 3 closed / 3 findingsRanking library overloads changes which methods library calls bind to, potentially altering downstream semantic analysis and reported findings. Replaces the ✅ 3 closed✅ Bug: Varargs ranking drops the implicit
|
| Auto-apply | Compact |
|
|
Was this helpful? React with 👍 / 👎 | Gitar
|




Part 11 of 17 of JAVA-7392. Ticket: JAVA-7401.
Intent
Replace the
OverloadRankingstub. When the server leaves a library call open between overloads, the translator now applies the JLS phases (strict, loose with boxing, variable arity) and keeps the most specific candidate.flowchart LR C[candidates] --> P1{phase 1: subtyping} P1 -->|none| P2{phase 2: boxing} P2 -->|none| P3{phase 3: varargs} P1 & P2 & P3 --> M[most specific]Source calls are already resolved by the server, so the replay goldens barely change. The unit tests carry this PR.
Test plan
OverloadRankingTest: candidate competition, phases, function arguments, variable arity