eclipse-ee4j / eclipse-ee4j/jersey

Allow kryo serialization of objects without no-args constructor

Open
#3,196 9 comments 0 reactions 0 assignees View on GitHub
Component: media Incomplete Priority: Minor Type: Improvement
Dominant language
Java
Stars
730
Forks
382
PR merge metrics
No merged PRs in 30d

Description

Playing around with the new Kryo serialization media type, we hit the problem of not being able to deserialize javax.xml.namespace.QName which does not have a 'no-args' constructor.

This is possible using for example the kryo instantiation strategy of objenesis ([http://objenesis.org/](http://objenesis.org/))

org.objenesis
objenesis
2.1

This is very important to allow serialization of legacy objects, or objects not under the control of the developer.
#### Affected Versions
[2.19]

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.