Skip to content

Commit 6e1d2eb

Browse files
committed
LibraryLocator.<init>(String): dispatch to the FileLocator classpath routine
1 parent 9d2267a commit 6e1d2eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

snaploader/src/main/java/electrostatic4j/snaploader/library/LibraryLocator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public class LibraryLocator extends FileLocator {
5252
* @param libraryPath the path to the dynamic native library inside that jar filesystem
5353
*/
5454
public LibraryLocator(String libraryPath) {
55-
this.fileInputStream = LibraryLocator.class.getClassLoader().getResourceAsStream(libraryPath);
55+
super(libraryPath);
5656
}
5757

5858
/**

0 commit comments

Comments
 (0)