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: github.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:22928404-f862-27b2-a4e3-794eec786505 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CC30:F6058:D2FD24:1102AC3:6992321A |
| html-safe-nonce | 3e878ef8a057a3b6a5c1ad44706ae8020dfedd12ff7ed95d59194c3e9f3f4230 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQzMwOkY2MDU4OkQyRkQyNDoxMTAyQUMzOjY5OTIzMjFBIiwidmlzaXRvcl9pZCI6IjgyMTg3MzcxMjc0NzY4MzQ4NDMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 42f4993e9964abfe820fd5740fd770f0859d92b20dca0c58b06c96cbb8a6469d |
| 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