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 211840 Details for
Bug 357547
[search] Search for method references is returning methods as overriden even if the superclass's method is only package-visible
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
proposed patch for this bug
Bug357547.patch (text/plain), 880 bytes, created by
Samrat Dhillon
on 2012-02-29 15:26:21 EST
(
hide
)
Description:
proposed patch for this bug
Filename:
MIME Type:
Creator:
Samrat Dhillon
Created:
2012-02-29 15:26:21 EST
Size:
880 bytes
patch
obsolete
>diff --git a/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/MethodLocator.java b/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/MethodLocator.java >index 9b48938..2eadf91 100644 >--- a/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/MethodLocator.java >+++ b/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/MethodLocator.java >@@ -109,7 +109,7 @@ > * this message send or not. > */ > protected boolean isVirtualInvoke(MethodBinding method, MessageSend messageSend) { >- return !method.isStatic() && !method.isPrivate() && !messageSend.isSuperAccess(); >+ return !method.isStatic() && !(method.isPrivate() || (method.isDefault() && !CharOperation.equals(method.declaringClass.qualifiedPackageName(),this.pattern.declaringQualification)))&& !messageSend.isSuperAccess(); > }
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 357547
:
211840
|
213744
|
214284
|
214290