Skip to content

OSGi and deserializing Path objects #1241

@benson-basis

Description

@benson-basis

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions