[Bug] System.arraycopy fails when called with object typed arguments
nbrugger-tgm opened this issue · comments
The method System.arraycopy
has a variant where it accepts objects instead of arrays. This method is covered incorrectly and only covers the case where the objects are object arrays, which is not always the case.
Object arr1 = new Object[0];
Object arr2 = new Object[0];
Sysytem.arraycopy(0,arr1,0,arr2,0);
is valid java but not compilable using bytecoder