Skip to content
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

[Java] Avoid casting ByteBuffer to Buffer #6785

Merged
merged 4 commits into from
Aug 30, 2021

Conversation

bjornharrtell
Copy link
Collaborator

I think it causes flatbuffers to be incompatible with Java 8 and it was the wrong course of action to take for the original issue.

@paulovap
Copy link
Collaborator

paulovap commented Aug 15, 2021

@bjornharrtell can you also change https://github.com/google/flatbuffers/blob/master/.github/workflows/build.yml#L146 to use java 8 so we can make sure it compiles properly?

We can keep one build using java 8 and another using java 11 to guarantee both compilers works properly.

@krojew
Copy link
Contributor

krojew commented Aug 16, 2021

Maybe we can release a new version after we make sure everything works now.

@github-actions github-actions bot added the CI Continuous Integration label Aug 16, 2021
@bjornharrtell
Copy link
Collaborator Author

@paulovap agreed and done.

@bjornharrtell
Copy link
Collaborator Author

@aardappel this is ready to merge and should hopefully resolve the issues you had in publishing a java patch version

@aardappel
Copy link
Collaborator

Thanks! The long winded story of Java incompatibilities is coming full circle :)

@aardappel aardappel merged commit 0e9d79c into google:master Aug 30, 2021
@bjornharrtell bjornharrtell deleted the revert-java-casts branch August 30, 2021 22:57
@aardappel
Copy link
Collaborator

Ok, a maven release of 2.0.3 completed succesfully.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Continuous Integration java
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants