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 26343 Details for
Bug 103466
Stack Overflow: Requesting Java AST from selection
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Fix
patch103466_org.eclipse.jdt.core.txt (text/plain), 1.15 KB, created by
Jerome Lanneluc
on 2005-08-22 11:23:24 EDT
(
hide
)
Description:
Fix
Filename:
MIME Type:
Creator:
Jerome Lanneluc
Created:
2005-08-22 11:23:24 EDT
Size:
1.15 KB
patch
obsolete
>Index: model/org/eclipse/jdt/internal/core/util/Util.java >=================================================================== >RCS file: /home/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/Util.java,v >retrieving revision 1.71 >diff -u -r1.71 Util.java >--- model/org/eclipse/jdt/internal/core/util/Util.java 28 Jul 2005 16:33:23 -0000 1.71 >+++ model/org/eclipse/jdt/internal/core/util/Util.java 22 Aug 2005 15:21:28 -0000 >@@ -1318,9 +1318,13 @@ > > /* > * Returns the simple name of a local type from the given binary type name. >- * The last '$' is at lastDollar. The ;last character of the type name is at end-1. >+ * The last '$' is at lastDollar. The last character of the type name is at end-1. > */ > public static String localTypeName(String binaryTypeName, int lastDollar, int end) { >+ if (lastDollar > 0 && binaryTypeName.charAt(lastDollar-1) == '$') >+ // local name starts with a dollar sign >+ // (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=103466) >+ return binaryTypeName; > int nameStart = lastDollar+1; > while (nameStart < end && Character.isDigit(binaryTypeName.charAt(nameStart))) > nameStart++;
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 103466
: 26343 |
26344