mirror of
https://github.com/xerial/snappy-java.git
synced 2025-04-08 19:35:08 +02:00
use parent
This commit is contained in:
parent
ecd8aaa3e9
commit
387ffa34f0
@ -86,7 +86,7 @@ public class SnappyLoader
|
||||
|
||||
private static ClassLoader getRootClassLoader() {
|
||||
ClassLoader cl = SnappyLoader.class.getClassLoader();
|
||||
while (cl.getParent() != null) {
|
||||
if (cl.getParent() != null) {
|
||||
cl = cl.getParent();
|
||||
}
|
||||
return cl;
|
||||
|
Loading…
x
Reference in New Issue
Block a user