hg: hsx/hotspot-gc/nashorn: 24 new changesets

john.coomes at oracle.com john.coomes at oracle.com
Wed Sep 4 00:19:27 PDT 2013


Changeset: dbb0a20a6f27
Author:    attila
Date:      2013-08-21 13:39 +0200
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/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/hsx/hotspot-gc/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/hsx/hotspot-gc/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/hsx/hotspot-gc/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/hsx/hotspot-gc/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/hsx/hotspot-gc/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/hsx/hotspot-gc/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/hsx/hotspot-gc/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/hsx/hotspot-gc/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/hsx/hotspot-gc/nashorn/rev/4dcd5a22fdd3

Merge


Changeset: f18f2ce1b2dc
Author:    attila
Date:      2013-08-23 13:10 +0200
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/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/hsx/hotspot-gc/nashorn/rev/2ce55025a37d

Merge


Changeset: a18f92a0a910
Author:    lana
Date:      2013-08-26 14:54 -0700
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/nashorn/rev/a18f92a0a910

Merge


Changeset: badc919cd621
Author:    lagergren
Date:      2013-08-23 14:16 +0200
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/nashorn/rev/badc919cd621

8023550: -d option was broken for any dir but '.'. Fixed Java warnings.
Reviewed-by: jlaskey, sundar

! buildtools/nasgen/src/jdk/nashorn/internal/tools/nasgen/ConstructorGenerator.java
! buildtools/nasgen/src/jdk/nashorn/internal/tools/nasgen/ScriptClassInstrumentor.java
! src/jdk/internal/dynalink/ChainedCallSite.java
! src/jdk/internal/dynalink/DefaultBootstrapper.java
! src/jdk/internal/dynalink/beans/AbstractJavaLinker.java
! src/jdk/internal/dynalink/beans/OverloadedDynamicMethod.java
! src/jdk/nashorn/api/scripting/NashornScriptEngine.java
! src/jdk/nashorn/internal/codegen/CompilationPhase.java
! src/jdk/nashorn/internal/objects/NativeArray.java
! src/jdk/nashorn/internal/objects/NativeRegExp.java
! src/jdk/nashorn/internal/runtime/Context.java
! src/jdk/nashorn/internal/runtime/DebuggerSupport.java
! src/jdk/nashorn/internal/runtime/ScriptObject.java
! src/jdk/nashorn/internal/runtime/regexp/joni/ArrayCompiler.java
! src/jdk/nashorn/internal/runtime/regexp/joni/BitSet.java
! src/jdk/nashorn/internal/runtime/regexp/joni/ByteCodeMachine.java
! src/jdk/nashorn/internal/runtime/regexp/joni/CodeRangeBuffer.java
! src/jdk/nashorn/internal/runtime/regexp/joni/Lexer.java
! src/jdk/nashorn/internal/runtime/regexp/joni/Parser.java
! src/jdk/nashorn/internal/runtime/regexp/joni/Region.java
! src/jdk/nashorn/internal/runtime/regexp/joni/ScannerSupport.java
! src/jdk/nashorn/internal/runtime/regexp/joni/SearchAlgorithm.java
! src/jdk/nashorn/internal/runtime/regexp/joni/StackMachine.java
! src/jdk/nashorn/internal/runtime/regexp/joni/WarnCallback.java
! src/jdk/nashorn/internal/runtime/regexp/joni/ast/EncloseNode.java
! src/jdk/nashorn/internal/runtime/regexp/joni/ast/Node.java
! src/jdk/nashorn/internal/runtime/regexp/joni/ast/QuantifierNode.java
! src/jdk/nashorn/internal/runtime/regexp/joni/exception/ErrorMessages.java
! tools/fxshell/jdk/nashorn/tools/FXShell.java

Changeset: e2d94d032760
Author:    jlaskey
Date:      2013-08-23 09:56 -0300
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/nashorn/rev/e2d94d032760

8020946: TokenType#toString returned null
Reviewed-by: hannesw, lagergren
Contributed-by: james.laskey at oracle.com

! src/jdk/nashorn/internal/parser/TokenType.java

Changeset: eb7b8340ce3a
Author:    lagergren
Date:      2013-08-23 15:46 +0200
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/nashorn/rev/eb7b8340ce3a

8023454: Updated DEVELOPER_README and command line flags, ensuring that undocumented flags that aren't guaranteed to work (disabled by default) and that are work in progress show up with an EXPERIMENTAL tag.
Reviewed-by: attila, jlaskey

! docs/DEVELOPER_README
! src/jdk/nashorn/internal/runtime/resources/Options.properties

Changeset: 12820c8d0a5d
Author:    jlaskey
Date:      2013-08-23 12:20 -0300
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/nashorn/rev/12820c8d0a5d

8019987: String trimRight and trimLeft could be defined
Reviewed-by: sundar
Contributed-by: james.laskey at oracle.com

! src/jdk/nashorn/internal/objects/NativeString.java
+ test/script/basic/JDK-8019987.js

Changeset: c19c66e661a9
Author:    hannesw
Date:      2013-08-26 15:59 +0200
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/nashorn/rev/c19c66e661a9

8023650: Regexp m flag does not recognize CRNL or CR
Reviewed-by: jlaskey, lagergren

! src/jdk/nashorn/internal/runtime/regexp/joni/ByteCodeMachine.java
! src/jdk/nashorn/internal/runtime/regexp/joni/Config.java
! src/jdk/nashorn/internal/runtime/regexp/joni/EncodingHelper.java
! src/jdk/nashorn/internal/runtime/regexp/joni/Lexer.java
! src/jdk/nashorn/internal/runtime/regexp/joni/Matcher.java
! src/jdk/nashorn/tools/Shell.java
+ test/script/basic/JDK-8023650.js

Changeset: 99e48c76d11f
Author:    jlaskey
Date:      2013-08-26 15:33 -0300
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/nashorn/rev/99e48c76d11f

8023721: Simplify eval in DebuggerSupport.
Reviewed-by: sundar, lagergren, hannesw
Contributed-by: james.laskey at oracle.com

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

Changeset: 3bd077423a08
Author:    sundar
Date:      2013-08-27 15:54 +0530
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/nashorn/rev/3bd077423a08

8022773: ScriptEngineTest.printManyTest fails
Reviewed-by: lagergren, attila

! test/src/jdk/nashorn/api/scripting/ScriptEngineTest.java

Changeset: 47f0a4c4b729
Author:    attila
Date:      2013-08-27 13:17 +0200
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/nashorn/rev/47f0a4c4b729

8023780: Gracefully handle @CS methods while binding bean properties
Reviewed-by: jlaskey, lagergren, sundar

! src/jdk/nashorn/internal/objects/NativeObject.java
+ test/script/basic/JDK-8023780.js
+ test/script/basic/JDK-8023780.js.EXPECTED

Changeset: bda0e89f88ae
Author:    sundar
Date:      2013-08-27 18:57 +0530
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/nashorn/rev/bda0e89f88ae

8023784: Object.prototype.toString should contain the class name for all instances
Reviewed-by: lagergren, jlaskey

! src/jdk/nashorn/api/scripting/ScriptObjectMirror.java
! src/jdk/nashorn/internal/objects/NativeArrayBuffer.java
! src/jdk/nashorn/internal/objects/NativeFloat32Array.java
! src/jdk/nashorn/internal/objects/NativeFloat64Array.java
! src/jdk/nashorn/internal/objects/NativeInt16Array.java
! src/jdk/nashorn/internal/objects/NativeInt32Array.java
! src/jdk/nashorn/internal/objects/NativeInt8Array.java
! src/jdk/nashorn/internal/objects/NativeUint16Array.java
! src/jdk/nashorn/internal/objects/NativeUint32Array.java
! src/jdk/nashorn/internal/objects/NativeUint8Array.java
! src/jdk/nashorn/internal/objects/NativeUint8ClampedArray.java
! src/jdk/nashorn/internal/runtime/ScriptRuntime.java
+ test/script/basic/JDK-8023784.js
+ test/script/basic/JDK-8023784.js.EXPECTED
! test/script/basic/NASHORN-377.js.EXPECTED

Changeset: 101606d3eb84
Author:    sundar
Date:      2013-08-27 19:26 +0530
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/nashorn/rev/101606d3eb84

Merge


Changeset: bf70cbd2c836
Author:    lana
Date:      2013-08-29 16:34 -0700
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/nashorn/rev/bf70cbd2c836

Merge




More information about the hotspot-gc-dev mailing list