libjava test suite keeps getting stuck

Richard Henderson rth@redhat.com
Mon Apr 23 20:10:00 GMT 2001


On Mon, Apr 23, 2001 at 08:05:45PM -0700, Zack Weinberg wrote:
> Hmm, like this?

Yes, very like that.

> jvm.h was the first header I found which was included by all the C++
> files that needed to get hit by the pragma, and marked "implementation
> internals"; there may be a better place.

No idea, myself.

> I don't know where to document the new pragma.

Probably with the Java docs.  I presume the C++ Native Interface
is documented somewhere.

> How is it that 'throw new <object>', which is all over the C++ code in
> libjava, generates calls to _Jv_AllocObject not _Znwj?

I believe that "new" recognizes extern java classes.


r~



More information about the Gcc mailing list