Adding Jodatime Interval serializer and tests
…with kryo2. This made a change in kryo necessary to be able to override class by name resolution, see commit 323dc6f1 in kryo: EsotericSoftware/kryo@323dc6f Also upgraded cglib, because with 2.2 the test failed with a VerifyError: class net.sf.cglib.core.DebuggingClassWriter overrides final method visit.(IILjava/lang/String;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)V The test now uses Kryo directly + Objenesis StdInstantiatorStrategy instead of KryoReflectionFactorySupport.
Add support for Pattern flags in RegexSerializer
Added writing an reading of the flags field
That made a change to FieldAnnotationAwareSerializer necessary, due to EsotericSoftware/kryo@fa2f729
…ields that are annotated with user-specified annotations.
Because in 2.22 Kryo.newSerializer(Class, Class) is no longer used, the SubListSerializersTest had to be changed as well.