[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CastCheckEliminator



Ondrej LHOTAK wrote:
> > Now there appears to be another (I think much simpler) bug [1] in
> > CastCheckEliminator. It looks to me like it doesn' properly handle
> > the case where thing being cast is the null constant.
> > [snip]
> >     java.lang.ClassCastException: soot.jimple.NullConstant
> 
> I guess I should have run the CastCheckEliminator on itself :)

heh :-)

> This bug should be fixed in revision 1635.

Thanks! Just tested it against my test case and it works fine now.

-Archie

__________________________________________________________________________
Archie Cobbs      *        CTO, Awarix        *      http://www.awarix.com