Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 41463 Details for
Bug 141704
[1.5][compiler] Eclipse 3.2RC4 Doesn't recognize implemented method by abstract class (while 3.1.2 works just fine).
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Patch
vararg.txt (text/plain), 1.05 KB, created by
Kent Johnson
on 2006-05-15 12:19:02 EDT
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Kent Johnson
Created:
2006-05-15 12:19:02 EDT
Size:
1.05 KB
patch
obsolete
>Index: compiler/org/eclipse/jdt/internal/compiler/lookup/Scope.java >=================================================================== >RCS file: /home/eclipse/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/Scope.java,v >retrieving revision 1.274 >diff -u -r1.274 Scope.java >--- compiler/org/eclipse/jdt/internal/compiler/lookup/Scope.java 4 May 2006 17:26:59 -0000 1.274 >+++ compiler/org/eclipse/jdt/internal/compiler/lookup/Scope.java 15 May 2006 16:17:45 -0000 >@@ -1243,7 +1243,10 @@ > // see if there is a better match in the interfaces - see AutoBoxingTest 99 > MethodBinding interfaceMethod = > findDefaultAbstractMethod(receiverType, selector, argumentTypes, invocationSite, classHierarchyStart, found); >- if (interfaceMethod != null) return interfaceMethod; >+ if (interfaceMethod != null) { >+ candidates = new MethodBinding[] {mostSpecificMethod, interfaceMethod}; >+ return mostSpecificMethodBinding(candidates, 2, argumentTypes, invocationSite, receiverType); >+ } > } > return mostSpecificMethod; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 141704
: 41463