Skip to content

Commit

Permalink
Provide better error message about needing memory-core to have access…
Browse files Browse the repository at this point in the history
… to unsafe
  • Loading branch information
jduo committed Nov 30, 2023
1 parent 4168bfd commit 8ced4f5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ public Object run() {
// the static fields above get initialized
final RuntimeException failure = new RuntimeException(
"Failed to initialize MemoryUtil. You must start Java with " +
"`--add-opens=java.base/java.nio=ALL-UNNAMED` " +
"`--add-opens=java.base/java.nio=org.apache.arrow.memory.core,ALL-UNNAMED` " +
"(See https://arrow.apache.org/docs/java/install.html)", e);
failure.printStackTrace();
throw failure;
Expand Down

0 comments on commit 8ced4f5

Please sign in to comment.