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 22869 Details for
Bug 99375
Compiler error using Annotations
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
New patch
patch_99375.txt (text/plain), 2.34 KB, created by
Olivier Thomann
on 2005-06-12 12:41:29 EDT
(
hide
)
Description:
New patch
Filename:
MIME Type:
Creator:
Olivier Thomann
Created:
2005-06-12 12:41:29 EDT
Size:
2.34 KB
patch
obsolete
>Index: compiler/org/eclipse/jdt/internal/compiler/classfmt/FieldInfo.java >=================================================================== >RCS file: /home/eclipse/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/classfmt/FieldInfo.java,v >retrieving revision 1.36 >diff -u -r1.36 FieldInfo.java >--- compiler/org/eclipse/jdt/internal/compiler/classfmt/FieldInfo.java 23 Feb 2005 02:47:58 -0000 1.36 >+++ compiler/org/eclipse/jdt/internal/compiler/classfmt/FieldInfo.java 12 Jun 2005 16:41:07 -0000 >@@ -118,7 +118,7 @@ > readOffset += 2; > break; > case '@' : >- readOffset += decodeAnnotation(readOffset); >+ readOffset = decodeAnnotation(readOffset); > break; > case '[' : > int numberOfValues = u2At(readOffset); >Index: compiler/org/eclipse/jdt/internal/compiler/classfmt/MethodInfo.java >=================================================================== >RCS file: /home/eclipse/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/classfmt/MethodInfo.java,v >retrieving revision 1.35 >diff -u -r1.35 MethodInfo.java >--- compiler/org/eclipse/jdt/internal/compiler/classfmt/MethodInfo.java 23 Feb 2005 02:47:58 -0000 1.35 >+++ compiler/org/eclipse/jdt/internal/compiler/classfmt/MethodInfo.java 12 Jun 2005 16:41:08 -0000 >@@ -110,7 +110,7 @@ > readOffset += 2; > break; > case '@' : >- readOffset += decodeAnnotation(readOffset); >+ readOffset = decodeAnnotation(readOffset); > break; > case '[' : > int numberOfValues = u2At(readOffset); >Index: model/org/eclipse/jdt/internal/core/util/ParameterAnnotation.java >=================================================================== >RCS file: /home/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/ParameterAnnotation.java,v >retrieving revision 1.4 >diff -u -r1.4 ParameterAnnotation.java >--- model/org/eclipse/jdt/internal/core/util/ParameterAnnotation.java 23 Feb 2005 02:47:31 -0000 1.4 >+++ model/org/eclipse/jdt/internal/core/util/ParameterAnnotation.java 12 Jun 2005 16:41:08 -0000 >@@ -46,7 +46,7 @@ > this.annotations = new IAnnotation[length]; > for (int i = 0; i < length; i++) { > Annotation annotation = new Annotation(classFileBytes, constantPool, offset + readOffset); >- this.annotations[i++] = annotation; >+ this.annotations[i] = annotation; > this.readOffset += annotation.sizeInBytes(); > } > } else {
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 99375
:
22803
|
22805
|
22840
|
22841
| 22869