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 85920 Details for
Bug 214002
[dom] NPE in MethodBinding.getParameterAnnotations()
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Proposed fix
bug214002fix.txt (text/plain), 1.07 KB, created by
Walter Harley
on 2007-12-28 19:59:44 EST
(
hide
)
Description:
Proposed fix
Filename:
MIME Type:
Creator:
Walter Harley
Created:
2007-12-28 19:59:44 EST
Size:
1.07 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.core >Index: dom/org/eclipse/jdt/core/dom/MethodBinding.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/MethodBinding.java,v >retrieving revision 1.88 >diff -u -r1.88 MethodBinding.java >--- dom/org/eclipse/jdt/core/dom/MethodBinding.java 20 Dec 2007 15:18:05 -0000 1.88 >+++ dom/org/eclipse/jdt/core/dom/MethodBinding.java 29 Dec 2007 00:56:30 -0000 >@@ -146,7 +146,7 @@ > this.parameterAnnotations = new AnnotationBinding[length][]; > for (int i = 0; i < length; i++) { > org.eclipse.jdt.internal.compiler.lookup.AnnotationBinding[] paramBindingAnnotations = bindingAnnotations[i]; >- int pLength = paramBindingAnnotations.length; >+ int pLength = paramBindingAnnotations == null ? 0 : paramBindingAnnotations.length; > this.parameterAnnotations[i] = new AnnotationBinding[pLength]; > for (int j=0; j<pLength; j++) { > IAnnotationBinding domAnnotation = this.resolver.getAnnotationInstance(paramBindingAnnotations[j]);
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 214002
:
85918
|
85920
|
85949