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 2400 Details for
Bug 26129
JACKS: VerifyError, because opcode jsr_w not used
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Fix for this problem
patch.txt (text/plain), 2.63 KB, created by
Olivier Thomann
on 2002-11-13 12:30:10 EST
(
hide
)
Description:
Fix for this problem
Filename:
MIME Type:
Creator:
Olivier Thomann
Created:
2002-11-13 12:30:10 EST
Size:
2.63 KB
patch
obsolete
>Index: compiler/org/eclipse/jdt/internal/compiler/ast/TryStatement.java >=================================================================== >RCS file: /data/cvs/eclipse/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/TryStatement.java,v >retrieving revision 1.33 >diff -u -r1.33 TryStatement.java >--- compiler/org/eclipse/jdt/internal/compiler/ast/TryStatement.java 8 Oct 2002 12:24:24 -0000 1.33 >+++ compiler/org/eclipse/jdt/internal/compiler/ast/TryStatement.java 13 Nov 2002 17:36:10 -0000 >@@ -522,4 +522,9 @@ > } > visitor.endVisit(this, blockScope); > } >+ >+ public void resetStateForCodeGeneration() { >+ >+ this.subRoutineStartLabel.resetStateForCodeGeneration(); >+ } > } >Index: compiler/org/eclipse/jdt/internal/compiler/codegen/CodeStream.java >=================================================================== >RCS file: /data/cvs/eclipse/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/CodeStream.java,v >retrieving revision 1.40 >diff -u -r1.40 CodeStream.java >--- compiler/org/eclipse/jdt/internal/compiler/codegen/CodeStream.java 23 Oct 2002 12:31:28 -0000 1.40 >+++ compiler/org/eclipse/jdt/internal/compiler/codegen/CodeStream.java 13 Nov 2002 17:36:09 -0000 >@@ -3489,6 +3489,10 @@ > } > } > final public void jsr(Label lbl) { >+ if (this.wideMode) { >+ this.jsr_w(lbl); >+ return; >+ } > countLabels = 0; > try { > position++; >Index: compiler/org/eclipse/jdt/internal/compiler/codegen/ResetStateForCodeGenerationVisitor.java >=================================================================== >RCS file: /data/cvs/eclipse/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/ResetStateForCodeGenerationVisitor.java,v >retrieving revision 1.3 >diff -u -r1.3 ResetStateForCodeGenerationVisitor.java >--- compiler/org/eclipse/jdt/internal/compiler/codegen/ResetStateForCodeGenerationVisitor.java 1 Jul 2002 11:20:32 -0000 1.3 >+++ compiler/org/eclipse/jdt/internal/compiler/codegen/ResetStateForCodeGenerationVisitor.java 13 Nov 2002 17:36:04 -0000 >@@ -11,6 +11,7 @@ > package org.eclipse.jdt.internal.compiler.codegen; > > import org.eclipse.jdt.internal.compiler.AbstractSyntaxTreeVisitorAdapter; >+import org.eclipse.jdt.internal.compiler.ast.*; > import org.eclipse.jdt.internal.compiler.ast.BranchStatement; > import org.eclipse.jdt.internal.compiler.ast.DoStatement; > import org.eclipse.jdt.internal.compiler.ast.ForStatement; >@@ -51,6 +52,10 @@ > branchStatement.resetStateForCodeGeneration(); > return true; > } >- >+ >+ public boolean visit(TryStatement tryStatement, BlockScope scope) { >+ tryStatement.resetStateForCodeGeneration(); >+ return true; >+ } > } >
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 26129
:
2399
| 2400