-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Support AutoCloseable
with SerializationFeature.CLOSE_CLOSEABLE
#2382
Labels
3.0
Issue planned for initial 3.0 release
Comments
Sounds reasonable since starting with But just to play it safe, I think this should go in 2.10 (2.10.0.pr1 is due out soon anyway). |
Hmmh. Actually, due to added throwing of regular |
cowtowncoder
changed the title
Support AutoCloseable with CLOSE_CLOSEABLE feature
Support Dec 6, 2024
AutoCloseable
with SerializationFeature.CLOSE_CLOSEABLE
Implemented for 3.0.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The documentation for
SerializationFeature.CLOSE_CLOSEABLE
clearly indicates that it only closes Closeables as of 2.9.9.1. Can it be updated to close AutoCloseables as well?Ref:
jackson-databind/src/main/java/com/fasterxml/jackson/databind/ObjectMapper.java
Line 1074 in 02a7ef5
The text was updated successfully, but these errors were encountered: