Methods named finalize() should not have parameters. It is confusing and probably a bug to overload finalize(). It will not be called by the VM.