Multiple file compilation patch

Bryce McKinlay bryce@albatross.co.nz
Sun Mar 18 13:49:00 GMT 2001


Mark Wielaard wrote:
> No luck on i586. I updated my tree (trunk) and compiled kjc with gcj.
> But every java source file I try to compile with the resulting binary
> gives the same exception.

Can you tell what its trying to cast to what? I've seen this kind of thing happen when compiling from class files, or when compiling a mixture of class/source files.
regards
 [ bryce ]
> Exception in thread "main" java.lang.ClassCastException
> at 0x401ab76b: java.lang.Throwable.Throwable() (/usr/local/gcc/lib/libgcj.so.1)
> at 0x4019f94e: java.lang.Exception.Exception() (/usr/local/gcc/lib/libgcj.so.1)
> at 0x401a3e8e: java.lang.RuntimeException.RuntimeException() (/usr/local/gcc/lib/libgcj.so.1)
> at 0x4019dd9e: java.lang.ClassCastException.ClassCastException() (/usr/local/gcc/lib/libgcj.so.1)
> at 0x4018bf1a: _Jv_CheckCast (/usr/local/gcc/lib/libgcj.so.1)
> at 0x0817fdf8: at.dms.classfile.UnresolvedConstant.resolveConstant(at.dms.classfile.PooledConstant[]) (/home/mark/src/KopiSusu/allsrc/src/at/dms/classfile/UnresolvedConstant.java:0)



More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /