properties of objects in lists are not read
kelvinwop opened this issue · 1 comments
kelvinwop commented
[array idx=0] obj=b.jyx@d9ed06a
getFields=a,b,c,d
getOwnPropertyNames=shadow$_monitor_, hashCode, shadow$_klass_, identityHashCodeNative, wait, notify, notifyAll, equals, clone, identityHashCode, finalize, internalClone, toString, getClass
ProtogetOwnPropertyNames=$n, $C, $w, $_s, $c, $m, $l, $gch, $f
as you can see properties a,b,c,d
are missing from getOwnPropertyNames
which is generated using return Object.getOwnPropertyNames(x).join(', ');
it works perfectly fine for any object not in a List though....
kelvinwop commented
its due to type erasure and generics, just cast it