hg: jdk8/tl/nashorn: 12 new changesets

sundararajan.athijegannathan at oracle.com sundararajan.athijegannathan at oracle.com
Fri Aug 23 12:39:40 UTC 2013


Changeset: dbb0a20a6f27
Author:    attila
Date:      2013-08-21 13:39 +0200
URL:       http://hg.openjdk.java.net/jdk8/tl/nashorn/rev/dbb0a20a6f27

8023373: allow super invocation for adapters
Reviewed-by: lagergren, sundar

! src/jdk/nashorn/internal/runtime/linker/JavaAdapterBytecodeGenerator.java
+ test/script/basic/JDK-8023373.js
+ test/script/basic/JDK-8023373.js.EXPECTED

Changeset: dc322503ce36
Author:    attila
Date:      2013-08-21 13:39 +0200
URL:       http://hg.openjdk.java.net/jdk8/tl/nashorn/rev/dc322503ce36

8022903: Enhance for-in and for-each for Lists and Maps
Reviewed-by: lagergren, sundar

! src/jdk/nashorn/internal/runtime/ScriptRuntime.java
+ test/script/basic/JDK-8022903.js
+ test/script/basic/JDK-8022903.js.EXPECTED

Changeset: b7c04b3b01a7
Author:    sundar
Date:      2013-08-21 17:28 +0530
URL:       http://hg.openjdk.java.net/jdk8/tl/nashorn/rev/b7c04b3b01a7

8023368: Instance __proto__ property should exist and be writable.
Reviewed-by: attila, hannesw

! src/jdk/nashorn/api/scripting/ScriptObjectMirror.java
! src/jdk/nashorn/internal/objects/NativeObject.java
! src/jdk/nashorn/internal/runtime/PropertyListener.java
! src/jdk/nashorn/internal/runtime/PropertyListenerManager.java
! src/jdk/nashorn/internal/runtime/PropertyMap.java
! src/jdk/nashorn/internal/runtime/ScriptEnvironment.java
! src/jdk/nashorn/internal/runtime/ScriptObject.java
! src/jdk/nashorn/internal/runtime/resources/Messages.properties
! src/jdk/nashorn/internal/runtime/resources/Options.properties
! src/jdk/nashorn/internal/runtime/resources/mozilla_compat.js
+ test/script/basic/JDK-8023368.js
+ test/script/basic/JDK-8023368.js.EXPECTED
+ test/script/basic/JDK-8023368_2.js
+ test/script/basic/JDK-8023368_2.js.EXPECTED
+ test/script/basic/circular_proto.js
+ test/script/basic/circular_proto.js.EXPECTED
+ test/script/basic/mirror_proto_assign.js
+ test/script/basic/mirror_proto_assign.js.EXPECTED
+ test/script/basic/nonextensible_proto_assign.js
+ test/script/basic/nonextensible_proto_assign.js.EXPECTED

Changeset: 54f60d91024c
Author:    sundar
Date:      2013-08-22 18:46 +0530
URL:       http://hg.openjdk.java.net/jdk8/tl/nashorn/rev/54f60d91024c

8023551: Mirror functions can not be invoked using invokeMethod, invokeFunction
Reviewed-by: attila, jlaskey, lagergren

! src/jdk/nashorn/api/scripting/NashornScriptEngine.java
! src/jdk/nashorn/api/scripting/ScriptObjectMirror.java
+ test/script/basic/JDK-8023551.js
+ test/script/basic/JDK-8023551.js.EXPECTED
! test/src/jdk/nashorn/api/scripting/ScriptEngineTest.java

Changeset: 8ad9bcb04e6d
Author:    hannesw
Date:      2013-08-22 17:23 +0200
URL:       http://hg.openjdk.java.net/jdk8/tl/nashorn/rev/8ad9bcb04e6d

8023531: new RegExp('').toString() should return '/(?:)/'
Reviewed-by: sundar, jlaskey

! src/jdk/nashorn/internal/runtime/ScriptObject.java
! src/jdk/nashorn/internal/runtime/WithObject.java
! src/jdk/nashorn/internal/runtime/regexp/RegExp.java
+ test/script/basic/JDK-8023531.js

Changeset: c5c5ab3f420a
Author:    jlaskey
Date:      2013-08-22 13:51 -0300
URL:       http://hg.openjdk.java.net/jdk8/tl/nashorn/rev/c5c5ab3f420a

8023228: Debugger information gather is too slow.
Reviewed-by: sundar, lagergren
Contributed-by: james.laskey at oracle.com

! src/jdk/nashorn/internal/runtime/Context.java
+ src/jdk/nashorn/internal/runtime/DebuggerSupport.java

Changeset: 5a1e07b9a3cd
Author:    sundar
Date:      2013-08-22 22:32 +0530
URL:       http://hg.openjdk.java.net/jdk8/tl/nashorn/rev/5a1e07b9a3cd

8023560: Arbitrary javax.script.Bindings objects as ENGINE_SCOPE objects are not handled as expected.
Reviewed-by: jlaskey, lagergren, hannesw

! src/jdk/nashorn/api/scripting/NashornScriptEngine.java
! src/jdk/nashorn/internal/runtime/ScriptEnvironment.java
! src/jdk/nashorn/internal/runtime/resources/Options.properties
! test/src/jdk/nashorn/api/scripting/ScriptEngineTest.java
! test/src/jdk/nashorn/internal/runtime/TrustedScriptEngineTest.java

Changeset: d82ac93aa55c
Author:    sundar
Date:      2013-08-23 16:10 +0530
URL:       http://hg.openjdk.java.net/jdk8/tl/nashorn/rev/d82ac93aa55c

8023631: engine.js init script should be loaded into every global instance created by engines
Reviewed-by: attila, hannesw

! src/jdk/nashorn/api/scripting/NashornScriptEngine.java
! src/jdk/nashorn/api/scripting/resources/engine.js
+ test/src/jdk/nashorn/api/scripting/InvocableTest.java
+ test/src/jdk/nashorn/api/scripting/ScopeTest.java
! test/src/jdk/nashorn/api/scripting/ScriptEngineTest.java
+ test/src/jdk/nashorn/api/scripting/ScriptObjectMirrorTest.java

Changeset: 6b6a8fc714a9
Author:    lagergren
Date:      2013-08-23 12:43 +0200
URL:       http://hg.openjdk.java.net/jdk8/tl/nashorn/rev/6b6a8fc714a9

8023453: --log=attr did not unindent identNodes
Reviewed-by: attila, jlaskey

! src/jdk/nashorn/internal/codegen/Attr.java

Changeset: 4dcd5a22fdd3
Author:    lagergren
Date:      2013-08-23 12:44 +0200
URL:       http://hg.openjdk.java.net/jdk8/tl/nashorn/rev/4dcd5a22fdd3

Merge


Changeset: f18f2ce1b2dc
Author:    attila
Date:      2013-08-23 13:10 +0200
URL:       http://hg.openjdk.java.net/jdk8/tl/nashorn/rev/f18f2ce1b2dc

8023630: Implement Java.super() as the preferred way to call super methods
Reviewed-by: jlaskey, lagergren, sundar

! src/jdk/nashorn/internal/objects/NativeJava.java
! src/jdk/nashorn/internal/runtime/JSType.java
! src/jdk/nashorn/internal/runtime/linker/Bootstrap.java
! src/jdk/nashorn/internal/runtime/linker/BoundDynamicMethodLinker.java
! src/jdk/nashorn/internal/runtime/linker/JavaAdapterBytecodeGenerator.java
! src/jdk/nashorn/internal/runtime/linker/JavaAdapterClassLoader.java
+ src/jdk/nashorn/internal/runtime/linker/JavaSuperAdapter.java
+ src/jdk/nashorn/internal/runtime/linker/JavaSuperAdapterLinker.java
+ test/script/basic/JDK-8023630.js
+ test/script/basic/JDK-8023630.js.EXPECTED
! test/script/basic/NASHORN-397.js

Changeset: 2ce55025a37d
Author:    sundar
Date:      2013-08-23 16:44 +0530
URL:       http://hg.openjdk.java.net/jdk8/tl/nashorn/rev/2ce55025a37d

Merge





More information about the security-dev mailing list