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 38975 Details for
Bug 136688
[compiler] fup on bug 86813: step into switch behaves unexpectedly
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Proposed fix
patch_136688.txt (text/plain), 1.52 KB, created by
Olivier Thomann
on 2006-04-19 15:26:18 EDT
(
hide
)
Description:
Proposed fix
Filename:
MIME Type:
Creator:
Olivier Thomann
Created:
2006-04-19 15:26:18 EDT
Size:
1.52 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.core >Index: compiler/org/eclipse/jdt/internal/compiler/codegen/BranchLabel.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/BranchLabel.java,v >retrieving revision 1.4 >diff -u -r1.4 BranchLabel.java >--- compiler/org/eclipse/jdt/internal/compiler/codegen/BranchLabel.java 3 Apr 2006 13:51:37 -0000 1.4 >+++ compiler/org/eclipse/jdt/internal/compiler/codegen/BranchLabel.java 19 Apr 2006 19:15:02 -0000 >@@ -176,21 +176,9 @@ > this.codeStream.classFileOffset -= 3; > this.forwardReferenceCount--; > // also update the PCs in the related debug attributes >- /* OLD CODE >- int index = codeStream.pcToSourceMapSize - 1; >- while ((index >= 0) && (codeStream.pcToSourceMap[index][1] == oldPosition)) { >- codeStream.pcToSourceMap[index--][1] = position; >- } >- */ >- // Beginning of new code >- int index = this.codeStream.pcToSourceMapSize - 2; > if (this.codeStream.lastEntryPC == oldPosition) { > this.codeStream.lastEntryPC = this.position; > } >- if ((index >= 0) && (this.codeStream.pcToSourceMap[index] == this.position)) { >- this.codeStream.pcToSourceMapSize-=2; >- } >- // end of new code > if ((this.codeStream.generateAttributes & ClassFileConstants.ATTR_VARS) != 0) { > LocalVariableBinding locals[] = this.codeStream.locals; > for (int i = 0, max = locals.length; i < max; i++) {
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 136688
:
38975
|
38980
|
38993