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 22839 Details for
Bug 99469
[1.5][compiler] NPE compiling code with unknown annotations
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Apply on HEAD
patch_99469.txt (text/plain), 1.20 KB, created by
Olivier Thomann
on 2005-06-10 16:42:53 EDT
(
hide
)
Description:
Apply on HEAD
Filename:
MIME Type:
Creator:
Olivier Thomann
Created:
2005-06-10 16:42:53 EDT
Size:
1.20 KB
patch
obsolete
>Index: compiler/org/eclipse/jdt/internal/compiler/ast/AbstractMethodDeclaration.java >=================================================================== >RCS file: /home/eclipse/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/AbstractMethodDeclaration.java,v >retrieving revision 1.79 >diff -u -r1.79 AbstractMethodDeclaration.java >--- compiler/org/eclipse/jdt/internal/compiler/ast/AbstractMethodDeclaration.java 1 Apr 2005 10:09:10 -0000 1.79 >+++ compiler/org/eclipse/jdt/internal/compiler/ast/AbstractMethodDeclaration.java 10 Jun 2005 20:36:43 -0000 >@@ -72,7 +72,7 @@ > > public abstract void analyseCode(ClassScope classScope, InitializationFlowContext initializationContext, FlowInfo info); > >- /** >+ /** > * Bind and add argument's binding into the scope of the method > */ > public void bindArguments() { >@@ -86,7 +86,7 @@ > TypeBinding argType = this.binding == null ? null : this.binding.parameters[i]; > Argument argument = this.arguments[i]; > argument.bind(this.scope, argType, used); >- if (argument.annotations != null) { >+ if (argument.annotations != null && argType != null) { > this.binding.tagBits |= TagBits.HasParameterAnnotations; > } > }
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 99469
: 22839