java.lang.reflect.Proxy.java
Richard Emberson
emberson@phc.net
Wed Dec 5 11:34:00 GMT 2001
my platform is RedHat Linux i686
I built gcc (gcj)with the following configure:
../gcc/configure --enable-threads=posix --prefix=/usr/local/gcc \
--enable-shared --enable-languages=c++,java \
--with-as=/usr/bin/as --with-ld=/usr/bin/ld --enable-interpreter
so that, I believe, that the interpreter is enabled.
Richard Emberson
Tom Tromey wrote:
> >>>>> "Richard" == Richard Emberson <emberson@phc.net> writes:
>
> Richard> Can not try: printf "%s\n", klass->name->data
> Richard> because klass is ill defined.
>
> Richard> (gdb) printf "%s\n", klass->name->data
> Richard> Value can't be converted to integer.
>
> This is a gdb bug. This used to work. I've run into this several
> times recently. It makes debugging very hard :-(
>
> I haven't really read your message about Proxy.
> One thing to know is that the Classpath version of Proxy will only
> work in libgcj on platforms where the interpreter is enabled.
> It would be nice if we could make it work on all platforms.
> However, that might require libffi work equivalent to making the
> interpreter work; I haven't looked at it.
>
> Tom
More information about the Java
mailing list