kryo
kryo copied to clipboard
Java binary serialization and cloning: fast, efficient, automatic
**Describe the bug** When serializing an object in Kotlin it fails with an ArrayIndexOutOfBoundsException ``` Exception in thread "main" com.esotericsoftware.kryo.KryoException: java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1 Serialization...
This is a very minor improvement to provide more helpful error messages: **Describe the solution you'd like** Calls to Kryo.readObject(Input, Class) will throw an exception if passed an abstract class:...
Resolves #851.
**Describe the bug** ```java public static void main(String[] args) { A param = new A(); param.setI(null); System.out.println(param); // console print "null" Kryo kryo = new Kryo(); kryo.setRegistrationRequired(false); kryo.setDefaultSerializer(CompatibleFieldSerializer.class); Output output...
you can see the [discussion](https://groups.google.com/g/kryo-users/c/TjZik6HfQls/m/dESWdK43AgAJ) here This PR is to reduce the require operation when serialize huge ascii string You can use > mvn -f benchmarks/pom.xml compile exec:java -Dexec.args="-f 4...
**Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] **Describe the solution you'd...
Hi Nate, would you consider a `@PostDeserialisation` annotation which would act like the `@PostConstruct` annotation for the EJB in Java EE ? For example I could have a class that...
I read the example in #643, and I see that in @NathanSweet last comment says when decode `SomeClass#anotherClass` but `AnotherClass`'s structure is missing, it will cause decode failure. Because `CompatibleFieldSerializer`...
Using 5.0.0-RC4 version. Here is the basic pool setup: ``` private final Pool kryoPool = new Pool(true, true) { @Override public Kryo create() { Kryo kryo = new KryoReflectionFactorySupport(); kryo.setDefaultSerializer(new...
Add a test case about boolean field for #699