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

Jackson-2.5 is not backwards compatible with Jackson-2.4 #178

Closed
ansell opened this issue Jan 11, 2015 · 2 comments
Closed

Jackson-2.5 is not backwards compatible with Jackson-2.4 #178

ansell opened this issue Jan 11, 2015 · 2 comments
Milestone

Comments

@ansell
Copy link

ansell commented Jan 11, 2015

The fix for issue #166 resulted in non-backwards compatible code.

Specifically the following line compiles in Jackson-2.4 but fails in 2.5:

Lf2SpacesIndenter indenter = Lf2SpacesIndenter.instance.withLinefeed("\n")

Is it possible to reinstate that method signature (ie, don't just inherit it from DefaultIndenter) to provide backwards compatibility between 2.5 and 2.4?

@cowtowncoder
Copy link
Member

Yes. Intention is not to change publicly visible API, so this is accidental incompatibility.

@ansell
Copy link
Author

ansell commented Jan 11, 2015

Thanks!

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