garbage collecting interfaces

Archie Cobbs archie at whistle.com
Mon May 22 17:22:33 PDT 2000


Timothy Stack writes:
> There seems to be a bug in the destroyClass function when trying to
> garbage collect an interface.  It attempts to get the native code for
> a method, but ends up just dereferencing a null pointer.  The
> following code extends the ClassGC test to include a class that
> implements a dummy interface and a simple fix for destroyClass.
> Unfortunately, I don't know how to verify that the interface was
> actually collected, but atleast it doesn't crash anymore.

Good catch.. thanks, I checked in your patches.

-Archie

___________________________________________________________________________
Archie Cobbs   *   Whistle Communications, Inc.  *   http://www.whistle.com


More information about the kaffe mailing list