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 16642 Details for
Bug 81134
[dom] [5.0] NPE when creating AST
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Proposed patch
org.eclipse.jdt.core_patch.txt (text/plain), 1.02 KB, created by
Jerome Lanneluc
on 2004-12-15 10:35:47 EST
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Jerome Lanneluc
Created:
2004-12-15 10:35:47 EST
Size:
1.02 KB
patch
obsolete
>Index: compiler/org/eclipse/jdt/internal/compiler/lookup/SourceTypeBinding.java >=================================================================== >RCS file: /home/eclipse/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/SourceTypeBinding.java,v >retrieving revision 1.68 >diff -u -r1.68 SourceTypeBinding.java >--- compiler/org/eclipse/jdt/internal/compiler/lookup/SourceTypeBinding.java 5 Dec 2004 23:45:04 -0000 1.68 >+++ compiler/org/eclipse/jdt/internal/compiler/lookup/SourceTypeBinding.java 15 Dec 2004 15:27:26 -0000 >@@ -1111,6 +1111,13 @@ > } > if (foundArgProblem) { > methodDecl.binding = null; >+ // nullify type parameter bindings as well as they have a backpointer to the method binding >+ // (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=81134) >+ if (typeParameters != null) >+ for (int i = 0, length = typeParameters.length; i < length; i++) { >+ TypeParameter parameter = typeParameters[i]; >+ parameter.binding = null; >+ } > return null; > } > if (foundReturnTypeProblem)
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 81134
: 16642 |
16643