Category: Java finalize function

  • Java finalize function

    Using peer classes and implementation pointers to call C++ classes from java using JNI seems to work out ok so far. Forget the finalize function I talked about in my last post though. Apparently sometimes the finalize function is called and sometimes the finalize function is not called. It’s very unpredictable. This behavior was verified…