GitHub user iloveeclipse opened a pull request:

    https://github.com/apache/commons-bcel/pull/6

    Fix for BCEL-273

    Fixes BCEL-273 by partly reverting adf9fc13b37f866d731c73a09071170d50bfa807.
    
    This allows FindBugs to run on latest greatest BCEL state and avoid 
exceptions below:
    
    java.lang.ClassCastException: edu.umd.cs.findbugs.bcel.generic.NULL2Z
    cannot be cast to org.apache.commons.bcel6.generic.BranchInstruction
    At
    org.apache.commons.bcel6.generic.BranchHandle.getBI(BranchHandle.java:64)
    At
    
org.apache.commons.bcel6.generic.BranchHandle.getPosition(BranchHandle.java:73)
    At
    
edu.umd.cs.findbugs.ba.BetterCFGBuilder2$Subroutine.addInstruction(BetterCFGBuilder2.java:296)
    At
    edu.umd.cs.findbugs.ba.BetterCFGBuilder2.build(BetterCFGBuilder2.java:867)

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/iloveeclipse/commons-bcel BCEL-273

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/commons-bcel/pull/6.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #6
    
----
commit 25dfa20fd99e4053e68b6054ff21f55fd915e003
Author: Andrey Loskutov <losku...@gmx.de>
Date:   2016-06-08T13:27:07Z

    Fixes BCEL-273 by partly reverting
    adf9fc13b37f866d731c73a09071170d50bfa807.
    
    java.lang.ClassCastException: edu.umd.cs.findbugs.bcel.generic.NULL2Z
    cannot be cast to org.apache.commons.bcel6.generic.BranchInstruction
    At
    org.apache.commons.bcel6.generic.BranchHandle.getBI(BranchHandle.java:64)
    At
    
org.apache.commons.bcel6.generic.BranchHandle.getPosition(BranchHandle.java:73)
    At
    
edu.umd.cs.findbugs.ba.BetterCFGBuilder2$Subroutine.addInstruction(BetterCFGBuilder2.java:296)
    At
    edu.umd.cs.findbugs.ba.BetterCFGBuilder2.build(BetterCFGBuilder2.java:867)

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to