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

Add handlers for java.util.concurrent.ArrayBlockingQueue (has no default ctor) #161

Closed
cowtowncoder opened this issue Feb 5, 2013 · 2 comments

Comments

@cowtowncoder
Copy link
Member

(note: migrated from http://jira.codehaus.org/browse/JACKSON-790)


Type 'java.util.concurrent.ArrayBlockingQueue' can not be deserialized by default, since it has no default argument.

@cowtowncoder
Copy link
Member Author

Oh crap. While this would be relatively easy to implement with ValueInstantiator, the problem comes from fixed size requirement of the type... need to figure out how to first collect values, then instantiate. Sort of like using delegate.

cowtowncoder added a commit that referenced this issue Feb 7, 2013
@cowtowncoder
Copy link
Member Author

Implemented for 2.2.

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

1 participant