From 3da65be191e154440cae8619232432352cacefb2 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Thu, 20 Jan 2005 00:49:12 +0000 Subject: [PATCH] finalize needs to be protected not public else will not get invoked --- bindings/java/src/net/hyperic/sigar/win32/Service.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/java/src/net/hyperic/sigar/win32/Service.java b/bindings/java/src/net/hyperic/sigar/win32/Service.java index 65776ecd..e4b0fcd0 100644 --- a/bindings/java/src/net/hyperic/sigar/win32/Service.java +++ b/bindings/java/src/net/hyperic/sigar/win32/Service.java @@ -120,7 +120,7 @@ public class Service extends Win32Bindings implements java.io.Serializable Service.throwLastErrorException(); } - public void finalize() + protected void finalize() { this.close(); }