Skip to content

Support Java 11 by backporting IntBuffer.slice(int, int) #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Sep 9, 2023

Conversation

AutonomicPerfectionist
Copy link
Contributor

This PR lowers the source and target JDK versions to JDK 11, fixing the missing IntBuffer#slice(int, int) method by creating a custom implementation and container class. My original intention was to extend IntBuffer, but the super constructor requires a bunch of parameters that I can't pull from the delegate

@kherud kherud self-requested a review September 9, 2023 08:43
@kherud
Copy link
Owner

kherud commented Sep 9, 2023

Hey, great addition, thanks! I only made it package private, since there is currently no need to expose this, I think.

@kherud kherud merged commit 3913e9f into kherud:master Sep 9, 2023
@javierfd javierfd mentioned this pull request Nov 2, 2023
kherud pushed a commit that referenced this pull request Sep 6, 2024
CI: dockerized cuda12 build
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