Details
-
Task
-
Resolution: Fixed
-
P4
-
None
-
None
-
b93
Description
By popular demand, Java interop APIs Java.toJavaArray() and Java.toJavaScriptArray() will be renamed to Java.to() and Java.from(), respectively. Additionally, Java.toJavaArray() took an array component type, but since Java.to() is not necessarily restricted to arrays, we now need to pass the array type, so what was earlier
Java.toJavaArray([1,2,3], "int")
must now be
Java.to([1,2,3], "int[]")
Java.toJavaArray([1,2,3], "int")
must now be
Java.to([1,2,3], "int[]")