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 23071 Details for
Bug 99600
[search] Java model exception on "Move to new file" on inner type with inner type
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Patch to fix this issue
v00.txt (text/plain), 2.14 KB, created by
Frederic Fusier
on 2005-06-14 12:55:22 EDT
(
hide
)
Description:
Patch to fix this issue
Filename:
MIME Type:
Creator:
Frederic Fusier
Created:
2005-06-14 12:55:22 EDT
Size:
2.14 KB
patch
obsolete
>Index: search/org/eclipse/jdt/internal/core/search/matching/MatchLocator.java >=================================================================== >RCS file: /home/eclipse/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/MatchLocator.java,v >retrieving revision 1.248 >diff -u -r1.248 MatchLocator.java >--- search/org/eclipse/jdt/internal/core/search/matching/MatchLocator.java 14 Jun 2005 16:33:53 -0000 1.248 >+++ search/org/eclipse/jdt/internal/core/search/matching/MatchLocator.java 14 Jun 2005 16:50:07 -0000 >@@ -1521,7 +1521,9 @@ > // it's just for debug purposes... ignore all exceptions in this area > } > try { >- System.out.println("\tJava element: " + ((JavaElement)match.getElement()).toStringWithAncestors()); //$NON-NLS-1$ >+ JavaElement javaElement = (JavaElement)match.getElement(); >+ System.out.println("\tJava element: "+ javaElement.toStringWithAncestors()); //$NON-NLS-1$ >+ if (!javaElement.exists()) System.out.println("\t\tWARNING: this element does NOT exist!"); //$NON-NLS-1$ > } catch (Exception e) { > // it's just for debug purposes... ignore all exceptions in this area > } >Index: search/org/eclipse/jdt/internal/core/search/matching/MethodLocator.java >=================================================================== >RCS file: /home/eclipse/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/MethodLocator.java,v >retrieving revision 1.55 >diff -u -r1.55 MethodLocator.java >--- search/org/eclipse/jdt/internal/core/search/matching/MethodLocator.java 9 Jun 2005 13:05:34 -0000 1.55 >+++ search/org/eclipse/jdt/internal/core/search/matching/MethodLocator.java 14 Jun 2005 16:50:08 -0000 >@@ -452,6 +452,9 @@ > String[] parameterTypes = new String[parameterLength]; > for (int i = 0; i < parameterLength; i++) { > char[] typeName = parameters[i].shortReadableName(); >+ if (parameters[i].isMemberType()) { >+ typeName = CharOperation.subarray(typeName, CharOperation.indexOf('.', typeName)+1, typeName.length); >+ } > parameterTypes[i] = Signature.createTypeSignature(typeName, false); > } > IMethod method = type.getMethod(new String(bindingSelector), parameterTypes);
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 99600
: 23071