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

Clean up support of typed "unmodifiable", "singleton" Maps/Sets/Collections #3011

Closed
cowtowncoder opened this issue Jan 8, 2021 · 1 comment

Comments

@cowtowncoder
Copy link
Member

(note: follow-up for #3009)

Support for Type Id for various "special" JDK collections, maps, in JavaUtilCollectionsDeserializers is messy at this point, trying to automatically detect actual classes involved. Instead it might make sense to use simpler (if less flexible) approach used with #3009, but use it for all supported types (unmodifiable, singleton, synchronized), and avoid having to load in implementations eagerly.

@cowtowncoder
Copy link
Member Author

Note: slightly related to #2900 as well. Wonder if we need to check for java.util.ImmutableCollections$xxx as well.

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