MINOR: Bump io.netty:netty-bom from 4.2.14.Final to 4.2.15.Final (#1175) Bumps [io.netty:netty-bom](https://github.com/netty/netty) from 4.2.14.Final to 4.2.15.Final. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/netty/netty/releases">io.netty:netty-bom's releases</a>.</em></p> <blockquote> <h2>netty-4.2.15.Final</h2> <h2>Security fixes</h2> <ul> <li><a href="https://github.com/netty/netty/security/advisories/GHSA-h2qv-fj59-j46j">CVE-2026-48059</a>: memory exhaustion in <code>io.netty:netty-codec-haproxy</code> (high).</li> <li><a href="https://github.com/netty/netty/security/advisories/GHSA-5pvg-856g-cp85">CVE-2026-47691</a>: DNS cache poisoning in <code>io.netty:netty-resolver-dns</code> (high).</li> <li><a href="https://github.com/netty/netty/security/advisories/GHSA-563q-j3cm-6jxm">CVE-2026-50560</a>: DDoS in <code>io.netty:netty-codec-http2</code>.</li> <li><a href="https://github.com/netty/netty/security/advisories/GHSA-5w86-c3rq-vjj7">CVE-2026-50011</a>: memory exhaustion in <code>io.netty:netty-codec-redis</code> (high).</li> <li><a href="https://github.com/netty/netty/security/advisories/GHSA-3244-j874-rhc2">CVE-2026-44250</a>: memory exhaustion in <code>io.netty:netty-codec-redis</code> (high).</li> <li><a href="https://github.com/netty/netty/security/advisories/GHSA-6ghj-frrj-jjj3">CVE-2026-44890</a>: memory exhaustion in <code>io.netty:netty-codec-redis</code> (high).</li> <li><a href="https://github.com/netty/netty/security/advisories/GHSA-cq4q-cv5g-r8q5">CVE-2026-50009</a>: information disclosure and denial of service in <code>io.netty:netty-codec-classes-quic</code>.</li> <li><a href="https://github.com/netty/netty/security/advisories/GHSA-3qp7-7mw8-wx86">CVE-2026-44249</a>: IPv6 subnet filter bypass in <code>io.netty:netty-handler</code> (high).</li> <li><a href="https://github.com/netty/netty/security/advisories/GHSA-hvcg-qmg6-jm4c">CVE-2026-50020</a>: request smuggling in <code>io.netty:netty-codec-http</code>.</li> <li><a href="https://github.com/netty/netty/security/advisories/GHSA-c2rx-5r8w-8xr2">CVE-2026-44892</a>: memory exhaustion in <code>io.netty:netty-codec-http3</code> (high).</li> <li><a href="https://github.com/netty/netty/security/advisories/GHSA-cc37-9q2j-3hfv">CVE-2026-44893</a>: memory leak in <code>io.netty:netty-codec-haproxy</code> (high).</li> <li><a href="https://github.com/netty/netty/security/advisories/GHSA-cmm3-54f8-px4j">CVE-2026-44894</a>: traffic amplification in <code>io.netty:netty-codec-classes-quic</code> (high).</li> <li><a href="https://github.com/netty/netty/security/advisories/GHSA-c653-97m9-rcg9">CVE-2026-50010</a>: TLS hostname verification accidentally disabled in <code>io.netty:netty-handler</code> (high).</li> <li><a href="https://github.com/netty/netty/security/advisories/GHSA-xmv7-r254-6q78">CVE-2026-45673</a>: DNS cache poisoning in <code>io.netty:netty-resolver-dns</code>.</li> <li><a href="https://github.com/netty/netty/security/advisories/GHSA-x4gw-5cx5-pgmh">CVE-2026-45416</a>: excessive memory usage from SNIHandler in <code>io.netty:netty-handler</code> (high).</li> <li><a href="https://github.com/netty/netty/security/advisories/GHSA-w573-9ffj-6ff9">CVE-2026-45536</a>: file descriptor leak in <code>io.netty:netty-transport-native-epoll</code> and <code>io.netty:netty-transport-native-kqueue</code>.</li> <li><a href="https://github.com/netty/netty/security/advisories/GHSA-676x-f7gg-47vc">CVE-2026-45674</a>: DNS cache poisoning in <code>io.netty:netty-resolver-dns</code> (high).</li> <li><a href="https://github.com/netty/netty/security/advisories/GHSA-5xrh-qmmq-w6ch">CVE-2026-46340</a>: memory exhaustion in <code>io.netty:netty-transport-sctp</code> (high).</li> <li><a href="https://github.com/netty/netty/security/advisories/GHSA-5x3r-wrvg-rp6q">CVE-2026-47244</a>: denial of service in <code>io.netty:netty-codec-http2</code>.</li> <li><a href="https://github.com/netty/netty/security/advisories/GHSA-6jv9-x5w9-2ccm">CVE-2026-48006</a>: memory exhaustion in <code>io.netty:netty-codec-redis</code> (high).</li> <li><a href="https://github.com/netty/netty/security/advisories/GHSA-4grm-h2qv-h6w6">CVE-2026-48748</a>: memory exhaustion in <code>io.netty:netty-codec-http3</code> (high).</li> <li><a href="https://github.com/netty/netty/security/advisories/GHSA-c2gf-v879-257j">CVE-2026-48043</a>: memory exhaustion in <code>io.netty:netty-codec-http2</code>.</li> </ul> <h2>What's Changed</h2> <ul> <li>Fix race in io.netty.channel.uring.IoUringIoHandler.wakeup by <a href="https://github.com/dreamlike-ocean"><code>@dreamlike-ocean</code></a> in <a href="https://redirect.github.com/netty/netty/pull/16836">netty/netty#16836</a></li> <li>HTTP/2: Parse request-target path like Vert.x by <a href="https://github.com/yawkat"><code>@yawkat</code></a> in <a href="https://redirect.github.com/netty/netty/pull/16810">netty/netty#16810</a></li> <li>Auto-port 4.2: ChannelInitializer: correct misleading comment on exceptionCaught route by <a href="https://github.com/netty-project-bot"><code>@netty-project-bot</code></a> in <a href="https://redirect.github.com/netty/netty/pull/16853">netty/netty#16853</a></li> <li>FlowControlHandler: Suppress duplicate channelReadComplete after draining queue (<a href="https://redirect.github.com/netty/netty/issues/15053">#15053</a>) by <a href="https://github.com/schiemon"><code>@schiemon</code></a> in <a href="https://redirect.github.com/netty/netty/pull/16837">netty/netty#16837</a></li> <li>Pass maxAllocation to Brotli and Zstd decoders by <a href="https://github.com/fedinskiy"><code>@fedinskiy</code></a> in <a href="https://redirect.github.com/netty/netty/pull/16844">netty/netty#16844</a></li> <li>Fix revapi warnings by <a href="https://github.com/chrisvest"><code>@chrisvest</code></a> in <a href="https://redirect.github.com/netty/netty/pull/16885">netty/netty#16885</a></li> <li>Fix SCTP and Redis tests by <a href="https://github.com/chrisvest"><code>@chrisvest</code></a> in <a href="https://redirect.github.com/netty/netty/pull/16893">netty/netty#16893</a></li> <li>Add maxWindowLog parameter to ZstdDecoder to bound memory allocation by <a href="https://github.com/skyguard1"><code>@skyguard1</code></a> in <a href="https://redirect.github.com/netty/netty/pull/16850">netty/netty#16850</a></li> <li>Auto-port 4.2: MQTT: Reject malformed no-payload packets with non-zero Remaining Length by <a href="https://github.com/netty-project-bot"><code>@netty-project-bot</code></a> in <a href="https://redirect.github.com/netty/netty/pull/16890">netty/netty#16890</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/schiemon"><code>@schiemon</code></a> made their first contribution in <a href="https://redirect.github.com/netty/netty/pull/16837">netty/netty#16837</a></li> <li><a href="https://github.com/fedinskiy"><code>@fedinskiy</code></a> made their first contribution in <a href="https://redirect.github.com/netty/netty/pull/16844">netty/netty#16844</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/netty/netty/compare/netty-4.2.14.Final...netty-4.2.15.Final">https://github.com/netty/netty/compare/netty-4.2.14.Final...netty-4.2.15.Final</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/netty/netty/commit/a41f7b289ce1d697c50846f3ade3983e22b2ed40"><code>a41f7b2</code></a> [maven-release-plugin] prepare release netty-4.2.15.Final</li> <li><a href="https://github.com/netty/netty/commit/2394530bdb6837d928c2ec0b4d8f598487059ef9"><code>2394530</code></a> Auto-port 4.2: MQTT: Reject malformed no-payload packets with non-zero Remain...</li> <li><a href="https://github.com/netty/netty/commit/0bd1657a601da85c324d28562dc7d1ae220ad3a7"><code>0bd1657</code></a> Add maxWindowLog parameter to ZstdDecoder to bound memory allocation (<a href="https://redirect.github.com/netty/netty/issues/16850">#16850</a>)</li> <li><a href="https://github.com/netty/netty/commit/76291f58a901e021289e5c30618b6e136d605163"><code>76291f5</code></a> Fix SCTP and Redis tests (<a href="https://redirect.github.com/netty/netty/issues/16893">#16893</a>)</li> <li><a href="https://github.com/netty/netty/commit/e067b6e3376afee7629481d46333c3acf7f95943"><code>e067b6e</code></a> Fix revapi warnings (<a href="https://redirect.github.com/netty/netty/issues/16885">#16885</a>)</li> <li><a href="https://github.com/netty/netty/commit/5a52600d96cc6f4d38098e0645be53ecbfc8a811"><code>5a52600</code></a> Pass maxAllocation to Brotli and Zstd decoders (<a href="https://redirect.github.com/netty/netty/issues/16844">#16844</a>)</li> <li><a href="https://github.com/netty/netty/commit/541add0f7f5486ef15834da51d8dd983ec12e2b3"><code>541add0</code></a> Merge commit from fork</li> <li><a href="https://github.com/netty/netty/commit/270800e5d336913606493a562c8200ecf321a0c1"><code>270800e</code></a> Merge commit from fork</li> <li><a href="https://github.com/netty/netty/commit/3d45a1e4e8eb99144f716e54be5ac57e525fa7ca"><code>3d45a1e</code></a> Merge commit from fork</li> <li><a href="https://github.com/netty/netty/commit/75127cab731ee35068d1f0667bffa188bc332f5d"><code>75127ca</code></a> Merge commit from fork</li> <li>Additional commits viewable in <a href="https://github.com/netty/netty/compare/netty-4.2.14.Final...netty-4.2.15.Final">compare view</a></li> </ul> </details> <br /> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
The following guides explain the fundamental data structures used in the Java implementation of Apache Arrow.
Generated javadoc documentation is available here.
Refer to Building Apache Arrow for documentation of environment setup and build instructions.
Arrow uses Google's Flatbuffers to transport metadata. The java version of the library requires the generated flatbuffer classes can only be used with the same version that generated them. Arrow packages a version of the arrow-vector module that shades flatbuffers and arrow-format into a single JAR. Using the classifier “shade-format-flatbuffers” in your pom.xml will make use of this JAR, you can then exclude/resolve the original dependency to a version of your choosing.
$ flatc --version flatc version 25.1.24 $ grep "dep.fbs.version" pom.xml <dep.fbs.version>25.1.24</dep.fbs.version>
cd $ARROW_HOME # remove the existing files rm -rf format/src # regenerate from the .fbs files flatc --java -o format/src/main/java arrow-format/*.fbs # prepend license header mvn spotless:apply -pl :arrow-format
There are several system/environmental variables that users can configure. These trade off safety (they turn off checking) for speed. Typically they are only used in production settings after the code has been thoroughly tested without using them.
Bounds Checking for memory accesses: Bounds checking is on by default. You can disable it by setting either the system property(arrow.enable_unsafe_memory_access) or the environmental variable (ARROW_ENABLE_UNSAFE_MEMORY_ACCESS) to true. When both the system property and the environmental variable are set, the system property takes precedence.
null checking for gets: ValueVector get methods (not getObject) methods by default verify the slot is not null. You can disable it by setting either the system property(arrow.enable_null_check_for_get) or the environmental variable (ARROW_ENABLE_NULL_CHECK_FOR_GET) to false. When both the system property and the environmental variable are set, the system property takes precedence.
-Dio.netty.tryReflectionSetAccessible=true should be set. This fixes java.lang.UnsupportedOperationException: sun.misc.Unsafe or java.nio.DirectByteBuffer.(long, int) not available. thrown by Netty.StructVector enable -Darrow.struct.conflict.policy=CONFLICT_APPEND. Duplicate fields are ignored (CONFLICT_REPLACE) by default and overwritten. To support different policies for conflicting or duplicate fields set this JVM flag or use the correct static constructor methods for StructVectors.Arrow Java follows the Google Java Style Guide with the following differences:
NoFinalizer, OverloadMethodsDeclarationOrder, and VariableDeclarationUsageDistance due to the existing code base. These rules should be followed when possible.Refer to checkstyle.xml for rule specifics.
When running tests, Arrow Java uses the Logback logger with SLF4J. By default, it uses the logback.xml present in the corresponding module's src/test/resources directory, which has the default log level set to INFO. Arrow Java can be built with an alternate logback configuration file using the following command run in the project root directory:
mvn -Dlogback.configurationFile=file:<path-of-logback-file>
See Logback Configuration for more details.
Integration tests which require more time or more memory can be run by activating the integration-tests profile. This activates the Maven Failsafe plugin and any class prefixed with IT will be run during the testing phase. The integration tests currently require a larger amount of memory (>4GB) and time to complete. To activate the profile:
mvn -Pintegration-tests <rest of mvn arguments>