LocalVariablesSorter gets confused when dummy parameters are added to function
I'm adding a dummy parameter to a method, just as a marker -- it doesn't have
any impact on the code at all, and it remains unchanged. When such a method is
visited by a LocalVariablesSorter, it gets confused and rewrites code wrong.
When running the attached example with "java Asmbug" this gets flagged by the
CheckClassAdapter. Running the example with "java Asmbug false" which doesn't
run the code using a LocalVariablesSorter, it checks out ok, and is accepted by
sun's JVM.
This happens both with an older version of asm I was using, and with a recent
svn snapshot.