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 40509 Details for
Bug 140318
AST: Invalid annotation binding for incomplete code
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Proposed fix
patch_140318.txt (text/plain), 1.07 KB, created by
Olivier Thomann
on 2006-05-05 14:42:43 EDT
(
hide
)
Description:
Proposed fix
Filename:
MIME Type:
Creator:
Olivier Thomann
Created:
2006-05-05 14:42:43 EDT
Size:
1.07 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.core >Index: dom/org/eclipse/jdt/core/dom/DefaultBindingResolver.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/DefaultBindingResolver.java,v >retrieving revision 1.144 >diff -u -r1.144 DefaultBindingResolver.java >--- dom/org/eclipse/jdt/core/dom/DefaultBindingResolver.java 24 Apr 2006 20:11:56 -0000 1.144 >+++ dom/org/eclipse/jdt/core/dom/DefaultBindingResolver.java 5 May 2006 16:32:22 -0000 >@@ -344,6 +344,8 @@ > > synchronized IAnnotationBinding getAnnotationInstance(org.eclipse.jdt.internal.compiler.lookup.AnnotationBinding internalInstance) { > if (internalInstance == null) return null; >+ final ReferenceBinding annotationType = internalInstance.getAnnotationType(); >+ if (annotationType == null || !annotationType.isAnnotationType()) return null; > IAnnotationBinding domInstance = > (IAnnotationBinding) this.bindingTables.compilerBindingsToASTBindings.get(internalInstance); > if (domInstance != null)
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 140318
:
40509
|
40510
|
40727
|
40896