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

Re: Soot or SableVM bug?



On Thu, Jul 08, 2004 at 12:20:56AM -0400, Etienne Gagnon wrote:
> Hi there,
> 
> Does anybody have an idea what's the cause of
> 
>    java.lang.RuntimeException:
>    Aborting: can't find classfile[C
>    ...
> 
> in:  hhttp://sablevm.org/bugs/10#c3
> 
> Thanks for your precious help,

This is because some new javac compilers (and/or javac clones) generate
code with references to methods on arrays, when before, the reference
would always be to the method on java.lang.Object. Coffi used to not be able to
handle references to methods on arrays. Method resolution is supposed to
convert them to java.lang.Object, but resolution happens after Coffi.

See:
http://www.sable.mcgill.ca/sootbugs/incoming?id=85;page=2;user=guest
http://www.sable.mcgill.ca/listarchives/soot-list/msg01254.html
http://www.sable.mcgill.ca/listarchives/soot-list/msg01288.html

This bug was fixed in revision 1391. However, no Soot releases have been
made with the fix.

I notice you're using Soot 1.2.5, which is ancient.

Ondrej

> Etienne
> 
> -- 
> Etienne M. Gagnon, Ph.D.             http://www.info.uqam.ca/~egagnon/
> SableVM:                                       http://www.sablevm.org/
> SableCC:                                       http://www.sablecc.org/
>