Native finalizer.

Andrew Haley aph@redhat.com
Mon Jul 13 17:37:00 GMT 2009


abhishek desai wrote:

> Is there any way to assign a native finalizer method per object to be
> called when the object gets garbage collected ? I want to assign this
> in the native layer.

Sure, just define a method Myclass::finalize() in C++.  I think that'll
work.

Andrew.



More information about the Java mailing list