From dddf49556771b53ec6c74fb403461bc58733c535 Mon Sep 17 00:00:00 2001 From: Lothar Haeger Date: Thu, 5 Dec 2019 16:48:13 +0530 Subject: [PATCH] Java13 compatibility with FileSystem.newFileSystem() See https://bugs.openjdk.java.net/browse/JDK-8223197 for details. --- .../main/java/org/jd/gui/model/container/GenericContainer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/src/main/java/org/jd/gui/model/container/GenericContainer.java b/services/src/main/java/org/jd/gui/model/container/GenericContainer.java index 3477eabb..60787538 100644 --- a/services/src/main/java/org/jd/gui/model/container/GenericContainer.java +++ b/services/src/main/java/org/jd/gui/model/container/GenericContainer.java @@ -170,7 +170,7 @@ protected Collection loadChildrenFromFileEntry() throws IOExcep tmpFile.deleteOnExit(); Files.copy(fsPath, tmpPath); - FileSystem subFileSystem = FileSystems.newFileSystem(tmpPath, null); + FileSystem subFileSystem = FileSystems.newFileSystem(tmpPath, (ClassLoader) null); if (subFileSystem != null) { Iterator rootDirectories = subFileSystem.getRootDirectories().iterator();