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.
Thanks for the report, Committed revision 1081190.