changeset 52893:f14aa990b330

8212137: Remove JrtFileSystem finalize method Reviewed-by: alanb
author sundar
date Fri, 07 Dec 2018 14:36:43 +0530
parents 442d322bb6d8
children 8df9cf767f79
files src/java.base/share/classes/jdk/internal/jrtfs/JrtFileSystem.java
diffstat 1 files changed, 0 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.base/share/classes/jdk/internal/jrtfs/JrtFileSystem.java	Thu Dec 06 09:48:33 2018 +0100
+++ b/src/java.base/share/classes/jdk/internal/jrtfs/JrtFileSystem.java	Fri Dec 07 14:36:43 2018 +0530
@@ -106,14 +106,6 @@
     }
 
     @Override
-    @SuppressWarnings("deprecation")
-    protected void finalize() throws Throwable {
-        try {
-            cleanup();
-        } catch (IOException ignored) {}
-    }
-
-    @Override
     public FileSystemProvider provider() {
         return provider;
     }