rok commented on code in PR #14472:
URL: https://github.com/apache/arrow/pull/14472#discussion_r1003268639
##########
java/c/src/main/java/org/apache/arrow/c/jni/JniLoader.java:
##########
@@ -33,7 +33,7 @@
* The JniLoader for C Data Interface API's native implementation.
*/
public class JniLoader {
- private static final JniLoader INSTANCE = new
JniLoader(Collections.singletonList("arrow_cdata_jni"));
+ private static final JniLoader INSTANCE = new
JniLoader(Collections.singletonList(System.getProperty("os.arch") +
".arrow_cdata_jni"));
Review Comment:
@kou you proposed:
```suggestion
private static final JniLoader INSTANCE = new
JniLoader(Collections.singletonList(System.getProperty("os.arch").toLowerCase(Locale.US)
+ ".arrow_cdata_jni"));
```
Are you sure this is needed? If so we need to also add `import
java.util.Locale;`
--
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]