vibhatha commented on code in PR #42062:
URL: https://github.com/apache/arrow/pull/42062#discussion_r1634052590


##########
java/dataset/src/main/java/org/apache/arrow/dataset/jni/DirectReservationListener.java:
##########
@@ -40,10 +38,13 @@ private DirectReservationListener() {
       methodUnreserve = this.getDeclaredMethodBaseOnJDKVersion(classBits, 
"unreserveMemory");
       methodUnreserve.setAccessible(true);
     } catch (Exception e) {
-      final RuntimeException failure = new RuntimeException(
-          "Failed to initialize DirectReservationListener. When starting Java 
you must include " +
-              
"`--add-opens=java.base/java.nio=org.apache.arrow.dataset,org.apache.arrow.memory.core,ALL-UNNAMED`
 " +
-              "(See https://arrow.apache.org/docs/java/install.html)", e);
+      final RuntimeException failure =
+          new RuntimeException(
+              "Failed to initialize DirectReservationListener. When starting 
Java you must include "
+                  + "`--add-opens=java.base/java.nio=org.apache.arrow.dataset,"
+                  + "org.apache.arrow.memory.core,ALL-UNNAMED` "
+                  + "(See https://arrow.apache.org/docs/java/install.html)",
+              e);

Review Comment:
   Updated. 



-- 
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]

Reply via email to