Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

While nashorn attempts to give a seamless illusion of ScriptObjectMirrors and JSObjects, not every operation and script API (JSON, Array, Function's properties/functions) treats ScriptObjectMirror and jdk.nashorn.internal.runtime.ScriptObject uniformly. There are places where ScriptObjects work as expected but if you pass ScriptObjectMirror or your own JSObject implementation, it won't work as expected.

Security Permissions for Nashorn scripts

Nashorn script security permissions