-
-
Notifications
You must be signed in to change notification settings - Fork 148
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
YamlGenerator
closes the target stream when configured not to
#99
Comments
Thank you for reporting this. I hope to figure out what causes this; I hope it is not something SnakeYAML does. |
vboulaye
added a commit
to vboulaye/jackson-dataformats-text
that referenced
this issue
Oct 20, 2018
vboulaye
added a commit
to vboulaye/jackson-dataformats-text
that referenced
this issue
Oct 20, 2018
vboulaye
added a commit
to vboulaye/jackson-dataformats-text
that referenced
this issue
Oct 20, 2018
cowtowncoder
added a commit
that referenced
this issue
Oct 24, 2018
…sabled fix #99 do not close stream when autoclose is disabled in yaml generator/parser
cowtowncoder
changed the title
YamlGenerator closes the target stream when configured not to
Oct 24, 2018
YamlGenerator
closes the target stream when configured not to
Fixed by @vboulaye's patch, will be resolved in |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug description
YamlGenerator closes the target stream when configured not to.
Versions used
jackson-dataformat-yaml 2.9.2
jackson-databind 2.9.6
Expected result
The target stream not closed when writing a value. No output when running reproduction script/program.
Actual result
The target stream is closed when using the YamlGenerator, with the following output when running the reproduction script/program.
Steps to reproduce
The text was updated successfully, but these errors were encountered: