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

Calling flush on a closed LZ4BlockOutputStream throws NPE #53

Closed
wdroste opened this issue Nov 14, 2014 · 0 comments
Closed

Calling flush on a closed LZ4BlockOutputStream throws NPE #53

wdroste opened this issue Nov 14, 2014 · 0 comments

Comments

@wdroste
Copy link

wdroste commented Nov 14, 2014

Found this when using Jackson's ObjectMapper because it auto closes.. I know the Java spec is if its 'closed' and another operation is called its perfectly fine to throw an exception.. however for ease of use and the fact there's already support in the LZ4BlockOuputStream to call close repeatedly.. it was simple enough to patch flush..

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

2 participants