diff --git a/jme3-desktop/src/main/java/com/jme3/system/NativeLibraryLoader.java b/jme3-desktop/src/main/java/com/jme3/system/NativeLibraryLoader.java
index e85f6e86a..ed7994313 100644
--- a/jme3-desktop/src/main/java/com/jme3/system/NativeLibraryLoader.java
+++ b/jme3-desktop/src/main/java/com/jme3/system/NativeLibraryLoader.java
@@ -171,6 +171,8 @@ public final class NativeLibraryLoader {
* Specify a custom location where native libraries should
* be extracted to. Ensure this is a unique path not used
* by other applications to extract their libraries.
+ * Set to null
to restore default
+ * functionality.
*
* @param path Path where to extract native libraries.
*/
@@ -178,6 +180,23 @@ public final class NativeLibraryLoader {
extractionFolderOverride = new File(path).getAbsoluteFile();
}
+ /**
+ * Returns the folder where native libraries will be extracted.
+ * This is automatically determined at run-time based on the
+ * following criteria:
+ *
natives_<hash>
where <hash>
+ * is computed automatically as the XOR of the classpath hash code
+ * and the last modified date of this class.
+ *
+ * @return Path where natives will be extracted to.
+ */
public static File getExtractionFolder() {
if (extractionFolderOverride != null) {
return extractionFolderOverride;