PerumalsamyR opened a new pull request, #12520: URL: https://github.com/apache/gluten/pull/12520
## What changes are proposed in this pull request? After #12393, `JniLibLoader.load(libPath)` and `JniLibLoader.loadAndCreateLink(libPath, null)` are behaviorally identical: same already-loaded dedup check, same extraction to the work dir, same load call, same logging, same exception wrapping. The only difference is the `linkName` argument, and `loadWithLink` already skips the symlink branch when `linkName == null`. This PR removes the duplication by making `load()` a one-line delegate of `loadAndCreateLink(libPath, null)`, so there is a single copy of the loading sequence to evolve, and updates the Javadoc of both methods accordingly. No behavior change. Fixes #12394 ## How was this patch tested? Existing `JniLibLoaderTest` passes (`mvn test -pl gluten-core -Pspark-3.5 -Dtest=JniLibLoaderTest`). ## Was this patch authored or co-authored using generative AI tooling? Generated-by: Claude Code -- 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]
