commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Bourg (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (BCEL-28) Mistake in "Peephole optimizer" example at http://jakarta.apache.org/bcel/manual.html
Date Thu, 24 Apr 2014 08:53:16 GMT

     [ https://issues.apache.org/jira/browse/BCEL-28?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Emmanuel Bourg updated BCEL-28:
-------------------------------

         Priority: Blocker
      Environment:     (was: Operating System: other
Platform: Other)
    Fix Version/s: 6.0
         Priority:   (was: P4)
         Severity:   (was: normal)

> Mistake in "Peephole optimizer" example at http://jakarta.apache.org/bcel/manual.html
> -------------------------------------------------------------------------------------
>
>                 Key: BCEL-28
>                 URL: https://issues.apache.org/jira/browse/BCEL-28
>             Project: Commons BCEL
>          Issue Type: Bug
>          Components: Main
>    Affects Versions: 5.1
>            Reporter: Thai Ha
>            Assignee: Apache Commons Developers
>            Priority: Blocker
>             Fix For: 6.0
>
>
> 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();



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message