magro / kryo-serializers

More kryo serializers
Apache License 2.0
381 stars 120 forks source link

Unable to use SubListSerializers with JDK9 #112

Closed Syed-SnapLogic closed 5 years ago

Syed-SnapLogic commented 5 years ago

I am on JDK 9 and I wrote a test as follows:

@Test
    public void testCustom() throws Exception {
        SubListSerializers.JavaUtilSubListSerializer s = new SubListSerializers.JavaUtilSubListSerializer();
        System.out.println(s.toString());
    }

I am getting the following exception:

[ERROR] Tests run: 382, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.567 s <<< FAILURE! - in TestSuite
[ERROR] testCustom(de.javakaffee.kryoserializers.SubListSerializersTest)  Time elapsed: 0.01 s  <<< FAILURE!
java.lang.RuntimeException: java.lang.ClassNotFoundException: java.util.SubList
    at de.javakaffee.kryoserializers.SubListSerializersTest.testCustom(SubListSerializersTest.java:178)
Caused by: java.lang.ClassNotFoundException: java.util.SubList
    at de.javakaffee.kryoserializers.SubListSerializersTest.testCustom(SubListSerializersTest.java:178)

Can you pls help me resolve this issue? This is a blocker for me.

Syed-SnapLogic commented 5 years ago

@magro, can you or someone from your team pls reply to my question? I am presently blocked. Please treat this issue as a priority.

Syed-SnapLogic commented 5 years ago

I am sorry, this is not an issue. Based on the JDK, I have to use the respective serializers. I am closing it.