-
-
Notifications
You must be signed in to change notification settings - Fork 805
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
try to fix issue where _numberString is used despite having old value #1389
Conversation
Sounds reasonable. But we really need a test or two here, to reproduce the problem and guard against regression. Test in |
|
@pjfanning I think the difference is that thanks to |
@cowtowncoder the test now reproduces the issue - I put a summary in FasterXML/jackson-databind#4918 (comment) |
@cowtowncoder While this change fixes the immediate issue with clearing the _numberString value in the affected code path, I'm wondering if it might be better to do this at a different point. Some method like |
Places that clear |
I've created #1391 and targeted 2.17 branch. I've kept the changes as is because I think they are less risky for a patch release in this form. What I can do after these changes are merged is that I can do a larger change in the 2.19 branch that more explicitly manages the parser state so that it is less likely that old state can be read back in at the wrong time. |
relates to FasterXML/jackson-databind#4917