Skip to content

Commit 735e0bb

Browse files
Fix AccumuloVFSClassLoader race condition
localLoader was never set if another thread initilaized loader
1 parent 757468a commit 735e0bb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

start/src/main/java/org/apache/accumulo/start/classloader/vfs/AccumuloVFSClassLoader.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,8 @@ private static ClassLoader getClassLoader_Internal() throws IOException {
244244
}
245245
}
246246

247+
} else {
248+
localLoader = loader;
247249
}
248250
}
249251
}

0 commit comments

Comments
 (0)