Skip to content

Conversation

sebastianbergt
Copy link

Found https://github.com/vaci/capnproto-java-rpc and thought it would be nice to bring it up to speed on all the changes in https://github.com/capnproto/capnproto-java 's master, since I need the rpc capability.
I ended up fixing all the merge conflicts and it seems working (judging from the tests).

Since I did this anyway, I wondered, if you might want it as a contribution.
If you want anything changed to qualify it for merging, let me know.

This PR is huge, I do understand if you want to turn it down.

vaci and others added 25 commits March 6, 2022 14:09
Patches to assist porting back to official release
Fix generic structs with non-generic interface as type parameter
* replace ACTION_TOKEN with GITHUB_TOKEN

* try removing token
Lists can have up to 29 bits of elements. We multiply that by a constant of 8 (Bytes per word), so basically any element size can cause on overflow.
* Remove unnecessary bitwise and in WirePointer
* Remove always true condition in Serialize
* Pre-size segment ArrayList in Serialize
* Remove unused local var in Serialize
* Remove unnecessary bit shift in PackedOutputStream#write
* Make fields final in BuilderArena and Serialize
* Make Iterator classes static in DataList and TextList
* Pre-size ArrayList in ReaderArena constructor
@sebastianbergt sebastianbergt marked this pull request as draft July 24, 2025 19:43
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.

5 participants