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

OSGi and deserializing Path objects #1241

Closed
benson-basis opened this issue May 20, 2016 · 1 comment
Closed

OSGi and deserializing Path objects #1241

benson-basis opened this issue May 20, 2016 · 1 comment

Comments

@benson-basis
Copy link
Contributor

I'm not sure, yet, if anything can be done about the following.

The code I just contributed to support deserialization of Path objects calls Paths.get(URI).

This does not work, at least out of the box, in an OSGi environment, as the file system providers collection has class references acquired, somehow, from the app class loader, while a file system created inside an OSGi bundle will use a copy of the class loaded in the OSGi bundle.

I don't yet know if there's a correct way around this, and so I don't know if there's anything to be done in Jackson.

@benson-basis
Copy link
Contributor Author

See google/jimfs#35. There's nothing to do here in Jackson.

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