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 133366 Details for
Bug 260031
Wrong type for class constants in stackmap frames
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Proposed fix
patch_260031.txt (text/plain), 1.84 KB, created by
Olivier Thomann
on 2009-04-27 10:43:48 EDT
(
hide
)
Description:
Proposed fix
Filename:
MIME Type:
Creator:
Olivier Thomann
Created:
2009-04-27 10:43:48 EDT
Size:
1.84 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.core >Index: compiler/org/eclipse/jdt/internal/compiler/ClassFile.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ClassFile.java,v >retrieving revision 1.186 >diff -u -r1.186 ClassFile.java >--- compiler/org/eclipse/jdt/internal/compiler/ClassFile.java 19 Mar 2009 23:20:17 -0000 1.186 >+++ compiler/org/eclipse/jdt/internal/compiler/ClassFile.java 27 Apr 2009 14:44:25 -0000 >@@ -7427,13 +7427,9 @@ > frame.addStackItem(TypeBinding.FLOAT); > break; > case ClassFileConstants.ClassTag: >- int utf8index = u2At(poolContents, 1, >- constantPoolOffsets[index]); >- char[] classSignature = utf8At(poolContents, >- constantPoolOffsets[utf8index] + 3, u2At( >- poolContents, 1, >- constantPoolOffsets[utf8index])); >- frame.addStackItem(new VerificationTypeInfo(0, classSignature)); >+ frame.addStackItem(new VerificationTypeInfo( >+ TypeIds.T_JavaLangClass, >+ ConstantPool.JavaLangClassConstantPoolName)); > } > pc += 2; > break; >@@ -7453,14 +7449,9 @@ > frame.addStackItem(TypeBinding.FLOAT); > break; > case ClassFileConstants.ClassTag: >- int utf8index = u2At(poolContents, 1, >- constantPoolOffsets[index]); >- char[] classSignature = utf8At(poolContents, >- constantPoolOffsets[utf8index] + 3, u2At( >- poolContents, 1, >- constantPoolOffsets[utf8index])); >- frame.addStackItem(new VerificationTypeInfo(0, >- classSignature)); >+ frame.addStackItem(new VerificationTypeInfo( >+ TypeIds.T_JavaLangClass, >+ ConstantPool.JavaLangClassConstantPoolName)); > } > pc += 3; > break;
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 260031
:
133366
|
133367