Uploaded image for project: 'Commons BCEL'
  1. Commons BCEL
  2. BCEL-141

Select instructions should implement StackConsumer instead of StackProducer

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 5.2
    • 6.0
    • Main
    • None

    Description

      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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            issues@commons.apache.org Apache Commons Developers
            hobbbo@gmail.com hobbbo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment