You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bcel-dev@jakarta.apache.org by bu...@apache.org on 2003/10/30 17:28:28 UTC
DO NOT REPLY [Bug 24258] New: -
Mistake in "Peephole optimizer" example at http://jakarta.apache.org/bcel/manual.html
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24258>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24258
Mistake in "Peephole optimizer" example at http://jakarta.apache.org/bcel/manual.html
Summary: Mistake in "Peephole optimizer" example at
http://jakarta.apache.org/bcel/manual.html
Product: BCEL
Version: 5.1
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: Other
Component: Main
AssignedTo: bcel-dev@jakarta.apache.org
ReportedBy: thaiha@psv.com.vn
The example "Peephole optimizer" (at
http://jakarta.apache.org/bcel/manual.html) has the following code:
InstructionHandle[] match = (InstructionHandle[])e.next();
This is wrong. The variable "e" should be written as "i". In other words, it
should be changed to:
InstructionHandle[] match = (InstructionHandle[])i.next();
---------------------------------------------------------------------
To unsubscribe, e-mail: bcel-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: bcel-dev-help@jakarta.apache.org