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

MarshallableReaderWriter combined with writeDefault=false may cause retrieving empty values from the map #345

Closed
glukos opened this issue Sep 29, 2021 · 2 comments
Assignees

Comments

@glukos
Copy link
Contributor

glukos commented Sep 29, 2021

Test - MarshallableReaderWriterTest

The root cause is Wires#WIRE_TL - saved position (that's left after handling unexpected fields) may be set in its ValueInState. As a result we may restore the saved position and skip some of contents during unmarshalling.

@nicktindall
Copy link
Contributor

Interestingly I found this same problem in DocumentContext OpenHFT/Chronicle-Wire#311. Might be something to look out for elsewhere when Wires are reused.

@hft-team-city
Copy link
Contributor

Released in Chronicle-Map-3.22ea4, BOM-2.22ea29

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

No branches or pull requests

3 participants