mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8262967: Improve Zip file support
Reviewed-by: ahgross, rhalade, aefimov
This commit is contained in:
parent
e48af0069e
commit
0e6c01163f
1 changed files with 1 additions and 0 deletions
|
@ -226,6 +226,7 @@ public class ZipFile implements ZipConstants, Closeable {
|
|||
Integer.toHexString(mode));
|
||||
}
|
||||
String name = file.getPath();
|
||||
file = new File(name);
|
||||
@SuppressWarnings("removal")
|
||||
SecurityManager sm = System.getSecurityManager();
|
||||
if (sm != null) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue