8006193: (process) Clean-up java.lang.ProcessImpl.finalize, does not need to be public
authoruta
Wed, 20 Mar 2013 13:21:53 +0400
changeset 16490 43315ae7fa96
parent 16489 53619efef3fb
child 16491 272ad530ce3a
child 16493 4818a385bbb0
8006193: (process) Clean-up java.lang.ProcessImpl.finalize, does not need to be public Reviewed-by: alanb
jdk/src/windows/classes/java/lang/ProcessImpl.java
--- a/jdk/src/windows/classes/java/lang/ProcessImpl.java	Tue Mar 19 16:05:34 2013 -0700
+++ b/jdk/src/windows/classes/java/lang/ProcessImpl.java	Wed Mar 20 13:21:53 2013 +0400
@@ -234,7 +234,7 @@
         return stderr_stream;
     }
 
-    public void finalize() {
+    protected void finalize() {
         closeHandle(handle);
     }