Open tinder-johnbuhanan opened 1 year ago
Seems to me that this part could be solved by this StackOverflow post.
They say that Kryo5 should work: https://github.com/magro/kryo-serializers/issues/131#issuecomment-1528728575
Any plans for PaperDB to update to Kryo5?
Any plans for PaperDB to update to Kryo5?
I don't have such plans at the moment. I believe you can add your custom serializer as a workaround.
I don't have such plans at the moment. I believe you can add your custom serializer as a workaround.
Was looking into this topic, as I am currently facing the same problem and adding a custom serializer it is not enough I believe.
The error occurs on the creation of the Kryo Instance here, which calls the constructor of the ArraysAsListSerializer
containing the "problematic code".
So even if I add a custom serializer, the code will still fail at the same line.
Due to PaperDB's use of kryo-serializers, "ArraysAsListSerializer" is not compatible with Java 17. magro/kryo-serializers#131
Is there anyway we can make "ArraysAsListSerializer" compatible with Java 17?
Hello! Did you found a solution for this? I have the same issue but it can only be reproduced when running unit tests.
Due to PaperDB's use of kryo-serializers, "ArraysAsListSerializer" is not compatible with Java 17. https://github.com/magro/kryo-serializers/issues/131
Is there anyway we can make "ArraysAsListSerializer" compatible with Java 17?