mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-09 13:09:43 +00:00
8212137: Remove JrtFileSystem finalize method
Reviewed-by: alanb
This commit is contained in:
parent
f8ccc8393b
commit
a1c8528d3f
@ -105,14 +105,6 @@ class JrtFileSystem extends FileSystem {
|
||||
cleanup();
|
||||
}
|
||||
|
||||
@Override
|
||||
@SuppressWarnings("deprecation")
|
||||
protected void finalize() throws Throwable {
|
||||
try {
|
||||
cleanup();
|
||||
} catch (IOException ignored) {}
|
||||
}
|
||||
|
||||
@Override
|
||||
public FileSystemProvider provider() {
|
||||
return provider;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user