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 4279 Details for
Bug 35456
The Eclipse compiler generates classes that throw a VerifyError
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
setDepth patch
patch.txt (text/plain), 1.98 KB, created by
Philipe Mulet
on 2003-03-21 08:52:03 EST
(
hide
)
Description:
setDepth patch
Filename:
MIME Type:
Creator:
Philipe Mulet
Created:
2003-03-21 08:52:03 EST
Size:
1.98 KB
patch
obsolete
>Index: FieldReference.java >=================================================================== >RCS file: /data/cvs/eclipse/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/FieldReference.java,v >retrieving revision 1.42 >diff -u -r1.42 FieldReference.java >--- FieldReference.java 11 Mar 2003 15:03:52 -0000 1.42 >+++ FieldReference.java 21 Mar 2003 13:46:34 -0000 >@@ -518,8 +518,8 @@ > > public void setDepth(int depth) { > >+ bits &= ~DepthMASK; // flush previous depth if any > if (depth > 0) { >- bits &= ~DepthMASK; // flush previous depth if any > bits |= (depth & 0xFF) << DepthSHIFT; // encoded on 8 bits > } > } >Index: MessageSend.java >=================================================================== >RCS file: /data/cvs/eclipse/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/MessageSend.java,v >retrieving revision 1.36 >diff -u -r1.36 MessageSend.java >--- MessageSend.java 11 Mar 2003 15:03:52 -0000 1.36 >+++ MessageSend.java 21 Mar 2003 13:46:34 -0000 >@@ -258,8 +258,8 @@ > this.qualifyingType = receiverType; > } > public void setDepth(int depth) { >+ bits &= ~DepthMASK; // flush previous depth if any > if (depth > 0) { >- bits &= ~DepthMASK; // flush previous depth if any > bits |= (depth & 0xFF) << DepthSHIFT; // encoded on 8 bits > } > } >Index: NameReference.java >=================================================================== >RCS file: /data/cvs/eclipse/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/NameReference.java,v >retrieving revision 1.10 >diff -u -r1.10 NameReference.java >--- NameReference.java 11 Mar 2003 15:03:52 -0000 1.10 >+++ NameReference.java 21 Mar 2003 13:46:34 -0000 >@@ -51,8 +51,8 @@ > this.actualReceiverType = receiverType; > } > public void setDepth(int depth) { >+ bits &= ~DepthMASK; // flush previous depth if any > if (depth > 0) { >- bits &= ~DepthMASK; // flush previous depth if any > bits |= (depth & 0xFF) << DepthSHIFT; // encoded on 8 bits > } > }
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 35456
:
4277
| 4279