You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Emmanuel Bourg (JIRA)" <ji...@apache.org> on 2014/04/24 10:23:15 UTC

[jira] [Updated] (BCEL-141) Select instructions should implement StackConsumer instead of StackProducer

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

Emmanuel Bourg updated BCEL-141:
--------------------------------

         Priority: Blocker
      Environment:     (was: Operating System: Windows Vista
Platform: PC)
    Fix Version/s: 6.0

> Select instructions should implement StackConsumer instead of StackProducer
> ---------------------------------------------------------------------------
>
>                 Key: BCEL-141
>                 URL: https://issues.apache.org/jira/browse/BCEL-141
>             Project: Commons BCEL
>          Issue Type: Bug
>          Components: Main
>    Affects Versions: 5.2
>            Reporter: hobbbo
>            Assignee: Apache Commons Developers
>            Priority: Blocker
>             Fix For: 6.0
>
>
> Select instruction (class org.apache.bcel.generic.Select) is currently implementing interface StackProducer. It should instead, implement interface StackConsumer, since both instructions LOOKUPSWITCH and TABLESWITCH do consume (pop) the operand stack. In addition calls to produceStack() and consumeStack() do return the correct value.



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