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 66747 Details for
Bug 186181
1.5 compiler does not understand class files built by -target jsr14
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Proposed fix
patch_186181.txt (text/plain), 1.93 KB, created by
Olivier Thomann
on 2007-05-10 15:02:16 EDT
(
hide
)
Description:
Proposed fix
Filename:
MIME Type:
Creator:
Olivier Thomann
Created:
2007-05-10 15:02:16 EDT
Size:
1.93 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.core >Index: compiler/org/eclipse/jdt/internal/compiler/codegen/AttributeNamesConstants.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/AttributeNamesConstants.java,v >retrieving revision 1.16 >diff -u -r1.16 AttributeNamesConstants.java >--- compiler/org/eclipse/jdt/internal/compiler/codegen/AttributeNamesConstants.java 28 Mar 2006 20:31:16 -0000 1.16 >+++ compiler/org/eclipse/jdt/internal/compiler/codegen/AttributeNamesConstants.java 10 May 2007 19:01:37 -0000 >@@ -30,4 +30,5 @@ > final char[] RuntimeVisibleParameterAnnotationsName = "RuntimeVisibleParameterAnnotations".toCharArray(); //$NON-NLS-1$ > final char[] StackMapTableName = "StackMapTable".toCharArray(); //$NON-NLS-1$ > final char[] InconsistentHierarchy = "InconsistentHierarchy".toCharArray(); //$NON-NLS-1$ >+ final char[] VarargsName = "Varargs".toCharArray(); //$NON-NLS-1$ > } >Index: compiler/org/eclipse/jdt/internal/compiler/classfmt/MethodInfo.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/classfmt/MethodInfo.java,v >retrieving revision 1.46 >diff -u -r1.46 MethodInfo.java >--- compiler/org/eclipse/jdt/internal/compiler/classfmt/MethodInfo.java 29 Mar 2007 13:17:16 -0000 1.46 >+++ compiler/org/eclipse/jdt/internal/compiler/classfmt/MethodInfo.java 10 May 2007 19:01:37 -0000 >@@ -369,6 +369,9 @@ > if (CharOperation.equals(attributeName, AttributeNamesConstants.AnnotationDefaultName)) > this.accessFlags |= ClassFileConstants.AccAnnotationDefault; > break; >+ case 'V' : >+ if (CharOperation.equals(attributeName, AttributeNamesConstants.VarargsName)) >+ this.accessFlags |= ClassFileConstants.AccVarargs; > } > } > readOffset += (6 + u4At(readOffset + 2));
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 186181
:
66492
|
66747
|
66881
|
66898