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

fix: serialization with pseudo-IO objects like Zip::OutputStream #2775

Merged
merged 3 commits into from
Jan 26, 2023

Conversation

flavorjones
Copy link
Member

What problem is this PR intended to solve?

#2773

Serializing documents now works again with pseudo-IO objects that don't support IO's encoding API (like rubyzip's Zip::OutputStream). This was a regression in v1.14.0 due to the fix for #752 in #2434, and was not completely fixed by #2753. [#2773]

Have you included adequate test coverage?

Yes, existing coverage was extended to include JRuby, and new coverage was added for this case.

Does this change affect the behavior of either the C or the Java implementations?

This restores CRuby behavior to parity with the previous behavior that matches JRuby.

@flavorjones flavorjones force-pushed the 2773-pseudo-io-serialization branch from a5fc43c to 10065bf Compare January 22, 2023 05:56
@flavorjones flavorjones force-pushed the 2773-pseudo-io-serialization branch from 10065bf to 5e49ded Compare January 22, 2023 06:44
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