LuciferYang commented on code in PR #12393:
URL: https://github.com/apache/gluten/pull/12393#discussion_r3491475290


##########
gluten-core/src/main/java/org/apache/gluten/jni/JniLibLoader.java:
##########
@@ -90,10 +90,16 @@ public synchronized void load(String libPath) {
     }
   }
 
+  /**
+   * Same contract as {@link #load(String)}, with the addition of creating a 
symbolic link named
+   * {@code linkName} in {@code workDir} pointing at the extracted library. 
Returns immediately if
+   * {@code libPath} was already loaded by this instance.
+   */
   public synchronized void loadAndCreateLink(String libPath, String linkName) {
     try {
       if (loadedLibraries.contains(libPath)) {
         LOG.debug("Library {} has already been loaded, skipping", libPath);
+        return;

Review Comment:
   cc @jackylee-ch , a minor fix



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to