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 64309 Details for
Bug 181349
ArrayIndexOutOfBoundsException while editing Java code
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Proposed patch
patch_181349.txt (text/plain), 2.45 KB, created by
Olivier Thomann
on 2007-04-19 09:48:03 EDT
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Olivier Thomann
Created:
2007-04-19 09:48:03 EDT
Size:
2.45 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.core >Index: dom/org/eclipse/jdt/core/dom/TypeBinding.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/TypeBinding.java,v >retrieving revision 1.129 >diff -u -r1.129 TypeBinding.java >--- dom/org/eclipse/jdt/core/dom/TypeBinding.java 10 Apr 2007 19:03:10 -0000 1.129 >+++ dom/org/eclipse/jdt/core/dom/TypeBinding.java 19 Apr 2007 13:48:02 -0000 >@@ -221,7 +221,7 @@ > /* > * @see ITypeBinding#getDeclaredFields() > */ >- public IVariableBinding[] getDeclaredFields() { >+ public synchronized IVariableBinding[] getDeclaredFields() { > if (this.fields != null) { > return this.fields; > } >@@ -256,7 +256,7 @@ > /* > * @see ITypeBinding#getDeclaredMethods() > */ >- public IMethodBinding[] getDeclaredMethods() { >+ public synchronized IMethodBinding[] getDeclaredMethods() { > if (this.methods != null) { > return this.methods; > } >@@ -304,7 +304,7 @@ > /* > * @see ITypeBinding#getDeclaredTypes() > */ >- public ITypeBinding[] getDeclaredTypes() { >+ public synchronized ITypeBinding[] getDeclaredTypes() { > if (this.members != null) { > return this.members; > } >@@ -339,7 +339,7 @@ > /* > * @see ITypeBinding#getDeclaringMethod() > */ >- public IMethodBinding getDeclaringMethod() { >+ public synchronized IMethodBinding getDeclaringMethod() { > if (this.binding instanceof LocalTypeBinding) { > LocalTypeBinding localTypeBinding = (LocalTypeBinding) this.binding; > MethodBinding methodBinding = localTypeBinding.enclosingMethod; >@@ -377,7 +377,7 @@ > /* > * @see ITypeBinding#getDeclaringClass() > */ >- public ITypeBinding getDeclaringClass() { >+ public synchronized ITypeBinding getDeclaringClass() { > if (isClass() || isInterface() || isEnum()) { > ReferenceBinding referenceBinding = (ReferenceBinding) this.binding; > if (referenceBinding.isNestedType()) { >@@ -449,7 +449,7 @@ > return this.resolver.getTypeBinding(this.binding.erasure()); > } > >- public ITypeBinding[] getInterfaces() { >+ public synchronized ITypeBinding[] getInterfaces() { > if (this.interfaces != null) { > return this.interfaces; > } >@@ -887,7 +887,7 @@ > /* > * @see ITypeBinding#getSuperclass() > */ >- public ITypeBinding getSuperclass() { >+ public synchronized ITypeBinding getSuperclass() { > if (this.binding == null) > return null; > switch (this.binding.kind()) {
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 181349
:
63129
| 64309