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 23069 Details for
Bug 99686
IAE in Util#scanTypeBoundSignature
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Proposed fix
patch99686_org.eclipse.jdt.core.txt (text/plain), 1.31 KB, created by
Jerome Lanneluc
on 2005-06-14 12:43:43 EDT
(
hide
)
Description:
Proposed fix
Filename:
MIME Type:
Creator:
Jerome Lanneluc
Created:
2005-06-14 12:43:43 EDT
Size:
1.31 KB
patch
obsolete
>Index: compiler/org/eclipse/jdt/internal/compiler/lookup/LocalTypeBinding.java >=================================================================== >RCS file: /home/eclipse/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/LocalTypeBinding.java,v >retrieving revision 1.34 >diff -u -r1.34 LocalTypeBinding.java >--- compiler/org/eclipse/jdt/internal/compiler/lookup/LocalTypeBinding.java 29 Apr 2005 15:56:21 -0000 1.34 >+++ compiler/org/eclipse/jdt/internal/compiler/lookup/LocalTypeBinding.java 14 Jun 2005 16:40:22 -0000 >@@ -98,6 +98,21 @@ > return localArrayBindings[length] = new ArrayBinding(this, dimensionCount, scope.environment()); > } > >+/* >+ * Overriden for code assist. In this case, the constantPoolName() has not been computed yet. >+ * Slam the source name so that the signature is syntactically correct. >+ * (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=99686) >+ */ >+public char[] genericTypeSignature() { >+ if (this.genericReferenceTypeSignature == null && constantPoolName() == null) { >+ if (isAnonymousType()) >+ setConstantPoolName(superclass().sourceName()); >+ else >+ setConstantPoolName(sourceName()); >+ } >+ return super.genericTypeSignature(); >+} >+ > public char[] readableName() /*java.lang.Object, p.X<T> */ { > char[] readableName; > if (isAnonymousType()) {
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 99686
: 23069 |
23070