Description
new MapperBuilder().build().writeArray(new short[] { 1, 2 }, baos);
This currently blows up with
java.lang.ClassCastException: [S cannot be cast to [Ljava.lang.Object;
at org.apache.johnzon.mapper.Mapper.writeArray(Mapper.java:72)
at org.apache.johnzon.mapper.MapperTest.writeArray(MapperTest.java:491)
doing the same with new Short[] works like a charm...