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

Kotlin module (3.x): some work needed wrt JSTEP-4 (unchecked exceptions) #410

Closed
cowtowncoder opened this issue Jan 19, 2021 · 3 comments
Closed
Labels
3.x Issue affecting/planned for Jackson 3.x

Comments

@cowtowncoder
Copy link
Member

So, as per email I sent on jackson-dev, there is work for JSTEP-4 (https://github.com/FasterXML/jackson-future-ideas/wiki/JSTEP-4), in particular:

FasterXML/jackson-databind#2177

and I intend to merge changes to master of most repos soon (January 19th, 2021), with force publish to get 3.0.0-SNAPSHOT. Right now changes are on exp/jstep-4-for-3.0 branches of affect repos, most notably for jackson-core and jackson-databind.

This issue is just created for coordination: I will update details once I merge changes. Not the ideal mechanism for sure, but hope it's better than mailing lists at least.

@cowtowncoder cowtowncoder added the 3.x Issue affecting/planned for Jackson 3.x label Jan 19, 2021
@cowtowncoder
Copy link
Member Author

Changes mentioned have now been made and a new 3.0.0-SNAPSHOT of core components published.

In most cases changes needed should be simply either replacing "throws IOException" (and similar) with "throws JacksonException", or just removing (since exceptions are now unchecked): I have tried to indicate likeliest base exception for documentation purpose.

@cowtowncoder
Copy link
Member Author

FWTW, does not look like this breaks anything in Kotlin module -- I assume Kotlin deals with all exceptions as unchecked.

@dinomite
Copy link
Member

dinomite commented Feb 7, 2021

Yep, I don't think this will require any changes in Kotlin.

@dinomite dinomite closed this as completed Feb 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.x Issue affecting/planned for Jackson 3.x
Projects
None yet
Development

No branches or pull requests

2 participants