Add support for external arrays on each ScriptableObject via a new method:
  ScriptableObject.setExternalArray()
and the new "ExternalArray" class and its subclasses.
This feature lets you set the contents of the "array" portion of an
object to a Java array of various types. This makes it easier to
write code that efficiently shares code between Java and Node.js
See here for more:
  https://github.com/apigee/rhino/issues/17