Skip to content

allow to pass xstream converters to putAll() #565

Open
@vladak

Description

@vladak

With xstream 1.4.21 the serialization seems to got more strict. In our case, we use ChronicleMap to create a map of <BytesRef, Integer>. The xstream does not supply the converter of the Lucene's BytesRef object and hence the serialization fails. With a BytesRef xstream converter, ChronicleMap would still need to allow to pass the converters to the Xstream object created in JsonSerializer.putAll() through AbstractChronicleMap.putAll() which currently accepts only one argument. So, something like void putAll(File fromFile, final List<?> jsonConverters) throws IOException; is needed.

More details on our use case is on oracle/opengrok#4684

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