Skip to content

GH-3475: Fix parquet-vector compatiblity with Java > 17#3476

Open
iemejia wants to merge 1 commit intoapache:masterfrom
iemejia:vector-compat
Open

GH-3475: Fix parquet-vector compatiblity with Java > 17#3476
iemejia wants to merge 1 commit intoapache:masterfrom
iemejia:vector-compat

Conversation

@iemejia
Copy link
Copy Markdown
Member

@iemejia iemejia commented Apr 13, 2026

Replace the ByteBuffer-specific vector loads with local helpers that copy the required bytes and then call ByteVector.fromArray. This removes the dependency on JDK-specific ByteVector.fromByteBuffer entry points, which can fail with NoSuchMethodError on newer runtimes.

Assisted-by: OpenCode:gpt-5.4

Rationale for this change

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

Replace the ByteBuffer-specific vector loads with local helpers that copy the required bytes and then call ByteVector.fromArray. This removes the dependency on JDK-specific ByteVector.fromByteBuffer entry points, which can fail with NoSuchMethodError on newer runtimes.

Assisted-by: OpenCode:gpt-5.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant