Title: GH-1007: fix: does not break class loading if direct buffer allocator is not available by torito · Pull Request #1008 · apache/arrow-java · GitHub
Open Graph Title: GH-1007: fix: does not break class loading if direct buffer allocator is not available by torito · Pull Request #1008 · apache/arrow-java
X Title: GH-1007: fix: does not break class loading if direct buffer allocator is not available by torito · Pull Request #1008 · apache/arrow-java
Description: What's Changed The Direct Buffer is not always needed to use Arrow memory, however, we cannot load MemoryUtil class if we don't set: --add-opens=java.base/java.nio=org.apache.arrow.memory.core,ALL-UNNAMED Which is not always needed/possible. This fix proposes to catch the InaccessibleObjectException to not avoiding the load of the class. The directBuffer is, in any case not available and a UnsupportedOperationException will be throw as it is in the existing code Closes #1007 .
Open Graph Description: What's Changed The Direct Buffer is not always needed to use Arrow memory, however, we cannot load MemoryUtil class if we don't set: --add-opens=java.base/java.nio=org.apache.arrow.memory.c...
X Description: What's Changed The Direct Buffer is not always needed to use Arrow memory, however, we cannot load MemoryUtil class if we don't set: --add-opens=java.base/java.nio=org.apache.arrow....
Opengraph URL: https://github.com/apache/arrow-java/pull/1008
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:6532d5de-d695-a057-22c7-1fcff392c5df |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 95C6:17D740:148C743:1A387D9:699116B5 |
| html-safe-nonce | 4b9f9c573a97502d4bdf42e393f68293f3b431cdee40c00940b460f7366bb474 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NUM2OjE3RDc0MDoxNDhDNzQzOjFBMzg3RDk6Njk5MTE2QjUiLCJ2aXNpdG9yX2lkIjoiMzgyOTc3ODkzMDM3OTg1NTU0MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 02baeff3c3ffa5b1ea83d98cb59b15c8761e9615a7a18e5563a52e012769f77b |
| hovercard-subject-tag | pull_request:3250852300 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/apache/arrow-java/pull/1008/files |
| twitter:image | https://avatars.githubusercontent.com/u/316431?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/316431?s=400&v=4 |
| og:image:alt | What's Changed The Direct Buffer is not always needed to use Arrow memory, however, we cannot load MemoryUtil class if we don't set: --add-opens=java.base/java.nio=org.apache.arrow.memory.c... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| 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