Title: Unable to load MemoryUtil class if we dont set --add-opens · Issue #1007 · apache/arrow-java · GitHub
Open Graph Title: Unable to load MemoryUtil class if we dont set --add-opens · Issue #1007 · apache/arrow-java
X Title: Unable to load MemoryUtil class if we dont set --add-opens · Issue #1007 · apache/arrow-java
Description: Describe the bug, including details regarding any error messages, version, and platform. In the installation doc it is stated we should include some --add-opens to the JVM, however, in my scenario, is impossible to add those flags as I c...
Open Graph Description: Describe the bug, including details regarding any error messages, version, and platform. In the installation doc it is stated we should include some --add-opens to the JVM, however, in my scenario,...
X Description: Describe the bug, including details regarding any error messages, version, and platform. In the installation doc it is stated we should include some --add-opens to the JVM, however, in my scenario,...
Opengraph URL: https://github.com/apache/arrow-java/issues/1007
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Unable to load MemoryUtil class if we dont set --add-opens","articleBody":"### Describe the bug, including details regarding any error messages, version, and platform.\n\nIn the [installation doc](https://arrow.apache.org/java/main/install.html) it is stated we should include some `--add-opens` to the JVM, however, in my scenario, is impossible to add those flags as I cannot control how the JVM is launched.\n\nCurrently, my application don't even start, because the MemoryUtil class is not loaded because an [Exception in the static scope](https://github.com/apache/arrow-java/blob/ce1f3d75b25038af068b62cb9ebd35817b7a04a3/memory/memory-core/src/main/java/org/apache/arrow/memory/util/MemoryUtil.java#L141).\n\nCurrently, I'm forced to fork arrow because of this limitation.\nA PR for this issue will be proposed","author":{"url":"https://github.com/torito","@type":"Person","name":"torito"},"datePublished":"2026-02-05T15:54:11.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/1007/arrow-java/issues/1007"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:f6c4e6e9-0027-815d-5968-2ba6835727c9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 984A:12BE30:6C625:8640D:699101DE |
| html-safe-nonce | 441160e0218c536eb7dff849a3eacae6b8add5b81e12c0ef674a8f9c1ac610bc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5ODRBOjEyQkUzMDo2QzYyNTo4NjQwRDo2OTkxMDFERSIsInZpc2l0b3JfaWQiOiIxMTIyNzUzODU3OTU0MzE2NzY2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | a766b97ebcd065099162ca81993f77d8ea0f1c6f9d0ee1ac662a6b0a3f536ae8 |
| hovercard-subject-tag | issue:3902284989 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/apache/arrow-java/1007/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ff7e4287a7bafcb370318df93341d20025a1f2b04d44c7a3a9a4baac759536e9/apache/arrow-java/issues/1007 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ff7e4287a7bafcb370318df93341d20025a1f2b04d44c7a3a9a4baac759536e9/apache/arrow-java/issues/1007 |
| og:image:alt | Describe the bug, including details regarding any error messages, version, and platform. In the installation doc it is stated we should include some --add-opens to the JVM, however, in my scenario,... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | torito |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/apache/arrow-java git https://github.com/apache/arrow-java.git |
| octolytics-dimension-user_id | 47359 |
| octolytics-dimension-user_login | apache |
| octolytics-dimension-repository_id | 893682219 |
| octolytics-dimension-repository_nwo | apache/arrow-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 893682219 |
| octolytics-dimension-repository_network_root_nwo | apache/arrow-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 848bc6032dcc93a9a7301dcc3f379a72ba13b96e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width