mirror of
https://gitee.com/juicedata/JuiceFS.git
synced 2025-12-06 17:49:22 +08:00
fix NPE when only one system libjfs was provided (#1508)
This commit is contained in:
@@ -536,7 +536,7 @@ public class JuiceFileSystemImpl extends FileSystem {
|
||||
|
||||
long soTime = conn.getLastModified();
|
||||
if (res.getProtocol().equalsIgnoreCase("jar")) {
|
||||
soTime = new JarFile(jarPath).getJarEntry("libjfs.so.gz")
|
||||
soTime = new JarFile(jarPath).getJarEntry(resource)
|
||||
.getLastModifiedTime()
|
||||
.toMillis();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user