Community
Participate
Working Groups
On bug 165701 comment 1 test case, compiler should not warn the ambiguous method in javadoc comment as javadoc tool does not report any... Note that as there's no way to distinguish the two methods with raw types, it seems that generated doc always uses the last method for the link.
Created attachment 54495 [details] Proposed patch
Philippe, May you review my change in Scope: set closestMatch for ambiguous method when all most specific methods are equals in mostSpecificMethodBinding (return at the end). Do you think we can also set it on other returns in this method?
Released for 3.3 M4 in HEAD stream. Philippe, I finally removed the change on Scope as it had undesirable side effects on some compiler tests... Closest match was not really necessary to fix this issue but perhaps it would be good to think about it in the future?
Verified for 3.3M4 with I20061212-0010.