Avi-Levi / kryo

Automatically exported from code.google.com/p/kryo
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Deserialization of SomeIFace[] with Enum as impl of SomeIFace fails #20

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The attached ArraySerializerTest fails with 
java.lang.IllegalArgumentException: array element type mismatch
    at java.lang.reflect.Array.set(Native Method)
    at 
com.esotericsoftware.kryo.serialize.ArraySerializer.readArray(ArraySerializ
er.java)

Just place the ArraySerializerTest in 
test/com/esotericsoftware/kryo/serialize and execute.

I ran it against the kryo trunk (rev 108).

We have such a combination of an interface-array and enum implementations, 
so this is a real issue for us.

Original issue reported on code.google.com by martin.grotzke on 25 May 2010 at 10:44

Attachments:

GoogleCodeExporter commented 9 years ago
I'd like to change the priority to Priority-High, but unfortunately this is not 
possible ;-)

Original comment by martin.grotzke on 25 May 2010 at 10:45

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r109.

Original comment by nathan.s...@gmail.com on 26 May 2010 at 12:24