hg: nashorn/jdk8/nashorn: 8021361: ClassCastException:.ScriptObjectMirror -> ScriptObject when getInterface called on object from different ScriptContext

sundararajan.athijegannathan at oracle.com sundararajan.athijegannathan at oracle.com
Thu Jul 25 07:41:16 PDT 2013


Changeset: f22ca0f9b6ee
Author:    sundar
Date:      2013-07-25 20:10 +0530
URL:       http://hg.openjdk.java.net/nashorn/jdk8/nashorn/rev/f22ca0f9b6ee

8021361: ClassCastException:.ScriptObjectMirror -> ScriptObject when getInterface called on object from different ScriptContext
Reviewed-by: jlaskey, attila

! src/jdk/nashorn/api/scripting/NashornScriptEngine.java
! src/jdk/nashorn/api/scripting/ScriptObjectMirror.java
+ src/jdk/nashorn/api/scripting/resources/Messages.properties
! src/jdk/nashorn/internal/runtime/ScriptObject.java
! test/src/jdk/nashorn/api/scripting/ScriptEngineTest.java



More information about the nashorn-dev mailing list