Skip to content

Commit 125a95b

Browse files
committed
NativeDynamicLibrary: applied API changes
1 parent 8cc3cfc commit 125a95b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

snaploader/src/main/java/electrostatic4j/snaploader/platform/NativeDynamicLibrary.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,14 +135,14 @@ public void initWithLibraryInfo(LibraryInfo libraryInfo) {
135135
}
136136

137137
/* Initializes the library jar path to locate before extracting, "null" to use the classpath */
138-
jarPath = libraryInfo.getJarPath();
138+
jarPath = libraryInfo.getJarPath().getPath();
139139

140140
/* Initializes the library with an extraction path, "null" to extract to the current user directory */
141141
directoryPath = libraryInfo.getExtractionDirectory();
142142

143143
/* Fallback initializes the library directory within the jar from the library-info */
144144
if (platformDirectory == null) {
145-
platformDirectory = libraryInfo.getDirectory();
145+
platformDirectory = libraryInfo.getDirectory().getPath();
146146
}
147147
}
148148

0 commit comments

Comments
 (0)