8212137: Remove JrtFileSystem finalize method
authorsundar
Fri, 07 Dec 2018 14:36:43 +0530
changeset 52893 f14aa990b330
parent 52892 442d322bb6d8
child 52894 8df9cf767f79
8212137: Remove JrtFileSystem finalize method Reviewed-by: alanb
src/java.base/share/classes/jdk/internal/jrtfs/JrtFileSystem.java
--- 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;
     }