Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
5.1
-
None
Description
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();