Skip to content

Bincompat for ByteBuffer#rewind#1451

Closed
jeremyrsmith wants to merge 1 commit intomasterfrom
fix-rewind-bincompat
Closed

Bincompat for ByteBuffer#rewind#1451
jeremyrsmith wants to merge 1 commit intomasterfrom
fix-rewind-bincompat

Conversation

@jeremyrsmith
Copy link
Contributor

JDK17 introduces a new overload of this method. When you build on JDK17, it selects that version which makes in binary incompatible with JDK8.

This fixes it by only using rewind from the parent class Buffer.

JDK17 introduces a new overload of this method. When you build on JDK17, it selects that version which makes in binary incompatible with JDK8.

This fixes it by only using `rewind` from the parent class `Buffer`.
@jeremyrsmith
Copy link
Contributor Author

I think we'll prefer #1452, assuming it works correctly.

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.

2 participants