Duplicate :
|
Script: function func(x, y, z) { print(x, y, z); } function g() { func.apply(this, arguments, 23); } g(3, 54, 3); Expected: 3 54 3 Actual: [Ljava.lang.Object;@417213 23 undefined 8u20 works fine. jdk8u-dev and jdk9-dev have this issue.
|