hg: tiered-attrib/dev/nashorn: 68 new changesets
vicente.romero at oracle.com
vicente.romero at oracle.com
Thu Jun 18 17:08:32 UTC 2015
Changeset: 811bbe3c6959
Author: hannesw
Date: 2015-05-05 14:23 +0200
URL: http://hg.openjdk.java.net/tiered-attrib/dev/nashorn/rev/811bbe3c6959
8078049: Nashorn crashes when attempting to start TypeScript compiler
Reviewed-by: lagergren, attila
! make/project.properties
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/Label.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/SpillObjectCreator.java
+ test/script/nosecurity/JDK-8078049.js
Changeset: a9b03ce75736
Author: hannesw
Date: 2015-05-05 14:30 +0200
URL: http://hg.openjdk.java.net/tiered-attrib/dev/nashorn/rev/a9b03ce75736
8078612: Persistent code cache should support more configurations
Reviewed-by: lagergren, attila
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/CodeStore.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/Context.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ErrorManager.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/RecompilableScriptFunctionData.java
+ test/script/basic/JDK-8078612_eager_1a.js
+ test/script/basic/JDK-8078612_eager_1a.js.EXPECTED
+ test/script/basic/JDK-8078612_eager_1b.js
+ test/script/basic/JDK-8078612_eager_1b.js.EXPECTED
+ test/script/basic/JDK-8078612_eager_2a.js
+ test/script/basic/JDK-8078612_eager_2a.js.EXPECTED
+ test/script/basic/JDK-8078612_eager_2b.js
+ test/script/basic/JDK-8078612_eager_2b.js.EXPECTED
! test/src/jdk/nashorn/internal/runtime/test/CodeStoreAndPathTest.java
Changeset: 231d6fd660b8
Author: attila
Date: 2015-05-05 18:35 +0200
URL: http://hg.openjdk.java.net/tiered-attrib/dev/nashorn/rev/231d6fd660b8
8079269: Optimistic rewrite in object literal causes ArrayIndexOutOfBoundsException
Reviewed-by: hannesw, lagergren
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/CodeGenerator.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/FieldObjectCreator.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/ObjectCreator.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/SpillObjectCreator.java
+ test/script/basic/JDK-8079269.js
Changeset: ee849fe4b32d
Author: attila
Date: 2015-05-06 13:36 +0200
URL: http://hg.openjdk.java.net/tiered-attrib/dev/nashorn/rev/ee849fe4b32d
8079349: Eliminate dead code around Nashorn code generator
Reviewed-by: hannesw, lagergren
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/BranchOptimizer.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/ClassEmitter.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/CodeGenerator.java
- src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/Emitter.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/MethodEmitter.java
Changeset: 044a0fe3944f
Author: attila
Date: 2015-05-06 15:46 +0200
URL: http://hg.openjdk.java.net/tiered-attrib/dev/nashorn/rev/044a0fe3944f
8079362: Enforce best practices for Node token API usage
Reviewed-by: hannesw, sundar
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/IRTranslator.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/InstanceOfTreeImpl.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/NewTreeImpl.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/AssignSymbols.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/LocalVariableTypesCalculator.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/Lower.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/AccessNode.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/BaseNode.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/BinaryNode.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/Node.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/VarNode.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/parser/Parser.java
Changeset: 9831c47f6279
Author: hannesw
Date: 2015-05-06 16:22 +0200
URL: http://hg.openjdk.java.net/tiered-attrib/dev/nashorn/rev/9831c47f6279
8066237: Fuzzing bug: Parser error on optimistic recompilation
Reviewed-by: lagergren, attila
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/RecompilableScriptFunctionData.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ScriptFunctionData.java
+ test/script/basic/JDK-8066237.js
Changeset: 6af2ee7b09a9
Author: sundar
Date: 2015-05-06 20:04 +0530
URL: http://hg.openjdk.java.net/tiered-attrib/dev/nashorn/rev/6af2ee7b09a9
8079470: Misleading error message when explicit signature constructor is called with wrong arguments
Reviewed-by: jlaskey, hannesw
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/NashornBottomLinker.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/resources/Messages.properties
+ test/script/basic/JDK-8079470.js
+ test/script/basic/JDK-8079470.js.EXPECTED
Changeset: 26c3094182d6
Author: attila
Date: 2015-05-06 16:48 +0200
URL: http://hg.openjdk.java.net/tiered-attrib/dev/nashorn/rev/26c3094182d6
8066751: Remove casts redundant with Java 9 buffer APIs
Reviewed-by: hannesw, sundar
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeArrayBuffer.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeFloat32Array.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeFloat64Array.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeInt16Array.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeInt32Array.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeInt8Array.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeUint16Array.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeUint32Array.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeUint8Array.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeUint8ClampedArray.java
Changeset: 26901244399e
Author: katleman
Date: 2015-05-07 10:19 -0700
URL: http://hg.openjdk.java.net/tiered-attrib/dev/nashorn/rev/26901244399e
Added tag jdk9-b63 for changeset bc8e67bec2f9
! .hgtags
Changeset: 00df6e4fc75a
Author: lana
Date: 2015-05-07 20:49 -0700
URL: http://hg.openjdk.java.net/tiered-attrib/dev/nashorn/rev/00df6e4fc75a
Merge
- src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/Emitter.java
Changeset: 71a4e37769f8
Author: sundar
Date: 2015-05-11 22:57 +0530
URL: http://hg.openjdk.java.net/tiered-attrib/dev/nashorn/rev/71a4e37769f8
8080042: can't build nashorn.jar from jdk9-dev/nashorn using jdk8 installation as JAVA_HOME
Reviewed-by: lagergren, jlaskey
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeArrayBuffer.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeFloat32Array.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeFloat64Array.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeInt16Array.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeInt32Array.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeInt8Array.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeUint16Array.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeUint32Array.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeUint8Array.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeUint8ClampedArray.java
Changeset: a0896a45b877
Author: sundar
Date: 2015-05-12 12:40 +0530
URL: http://hg.openjdk.java.net/tiered-attrib/dev/nashorn/rev/a0896a45b877
8080090: -d option should dump script source as well
Reviewed-by: hannesw, lagergren
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/Context.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ScriptEnvironment.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/Source.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/resources/Options.properties
Changeset: b506754c7d64
Author: sundar
Date: 2015-05-13 12:45 +0530
URL: http://hg.openjdk.java.net/tiered-attrib/dev/nashorn/rev/b506754c7d64
8080182: Array.prototype.sort throws IAE on inconsistent comparison
Reviewed-by: lagergren, hannesw
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeArray.java
+ test/script/basic/JDK-8080182.js
Changeset: 063ed2f959e4
Author: mhaupt
Date: 2015-05-13 15:41 +0200
URL: http://hg.openjdk.java.net/tiered-attrib/dev/nashorn/rev/063ed2f959e4
8080286: use path separator setting consistently in Nashorn project properties
Summary: replace uses of ":" with platform-independent path separator property
Reviewed-by: hannesw, sundar
! make/build.xml
! make/project.properties
Changeset: 1bd45e5ecf6a
Author: attila
Date: 2015-05-13 09:38 -0500
URL: http://hg.openjdk.java.net/tiered-attrib/dev/nashorn/rev/1bd45e5ecf6a
8067931: Improve error message when with statement is passed a POJO
Reviewed-by: lagergren, sundar
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/resources/Messages.properties
Changeset: d46a2d937061
Author: attila
Date: 2015-05-13 10:01 -0500
URL: http://hg.openjdk.java.net/tiered-attrib/dev/nashorn/rev/d46a2d937061
8080295: Need to adjust test output for 8067931
Reviewed-by: jlaskey, sundar
! test/script/basic/8024180/with_java_object.js.EXPECTED
Changeset: a975636b1433
Author: katleman
Date: 2015-05-14 12:38 -0700
URL: http://hg.openjdk.java.net/tiered-attrib/dev/nashorn/rev/a975636b1433
Added tag jdk9-b64 for changeset 00df6e4fc75a
! .hgtags
Changeset: 2054d01ae326
Author: lana
Date: 2015-05-14 20:14 -0700
URL: http://hg.openjdk.java.net/tiered-attrib/dev/nashorn/rev/2054d01ae326
Merge
Changeset: 92958064570c
Author: attila
Date: 2015-05-15 10:19 +0200
URL: http://hg.openjdk.java.net/tiered-attrib/dev/nashorn/rev/92958064570c
8079424: code generator for discarded boolean logical operation has an extra pop
Reviewed-by: lagergren, sundar
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/CodeGenerator.java
+ test/script/basic/JDK-8079424.js
Changeset: 4dc7eb763139
Author: mhaupt
Date: 2015-05-15 10:21 +0200
URL: http://hg.openjdk.java.net/tiered-attrib/dev/nashorn/rev/4dc7eb763139
8080471: fix usage of replace and file separator in Nashorn tests
Summary: Two tests should use replace instead of replaceAll, and there is a typo in the usage of File.separator.
Reviewed-by: attila, hannesw
! test/script/nosecurity/JDK-8050964.js
! test/script/nosecurity/JDK-8055034.js
Changeset: 01a9bdf3f840
Author: attila
Date: 2015-05-15 15:40 +0200
URL: http://hg.openjdk.java.net/tiered-attrib/dev/nashorn/rev/01a9bdf3f840
8078414: Don't create impossible converters for ScriptObjectMirror
Reviewed-by: hannesw, sundar
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/NashornLinker.java
+ test/src/jdk/nashorn/internal/runtime/test/JDK_8078414_Test.java
Changeset: 71d7a37e6dfb
Author: mhaupt
Date: 2015-05-15 16:36 +0200
URL: http://hg.openjdk.java.net/tiered-attrib/dev/nashorn/rev/71d7a37e6dfb
8049300: jjs scripting: need way to quote $EXEC command arguments to protect spaces
Summary: honor quoting with "" and '' as well as escaped spaces
Reviewed-by: hannesw, sundar
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ScriptingFunctions.java
Changeset: db5e1ef8a963
Author: sundar
Date: 2015-05-20 14:16 +0530
URL: http://hg.openjdk.java.net/tiered-attrib/dev/nashorn/rev/db5e1ef8a963
8080598: Javadoc warnings in Global.java after lazy initialization
Reviewed-by: lagergren, hannesw
! make/build.xml
+ samples/undefined_call.js
+ samples/unzip.js
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/LexicalContext.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/TryNode.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/Global.java
Changeset: f879641b5a69
Author: sundar
Date: 2015-05-21 18:44 +0530
URL: http://hg.openjdk.java.net/tiered-attrib/dev/nashorn/rev/f879641b5a69
8080848: delete of bound Java method property results in crash
Reviewed-by: hannesw, lagergren
+ samples/console.js
+ samples/consoleuse.js
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeObject.java
+ test/script/basic/JDK-8080848.js
Changeset: 14e38af72963
Author: sundar
Date: 2015-05-21 21:51 +0530
URL: http://hg.openjdk.java.net/tiered-attrib/dev/nashorn/rev/14e38af72963
8079145: jdk.nashorn.internal.runtime.arrays.IntArrayData.convert assertion
Reviewed-by: jlaskey, hannesw
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/IntArrayData.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/LongArrayData.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/NumberArrayData.java
+ test/script/basic/JDK-8079145.js
+ test/script/basic/JDK-8079145.js.EXPECTED
Changeset: d2999fc30824
Author: katleman
Date: 2015-05-21 10:07 -0700
URL: http://hg.openjdk.java.net/tiered-attrib/dev/nashorn/rev/d2999fc30824
Added tag jdk9-b65 for changeset 2054d01ae326
! .hgtags
Changeset: 9dd95cff9dae
Author: lana
Date: 2015-05-21 16:19 -0700
URL: http://hg.openjdk.java.net/tiered-attrib/dev/nashorn/rev/9dd95cff9dae
Merge
Changeset: beb84ff64d16
Author: sundar
Date: 2015-05-26 13:49 +0530
URL: http://hg.openjdk.java.net/tiered-attrib/dev/nashorn/rev/beb84ff64d16
8036743: need ArrayBuffer constructor with specified data
Reviewed-by: attila, hannesw, lagergren
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeArrayBuffer.java
+ test/script/basic/JDK-8036743.js
+ test/script/basic/JDK-8036743.js.EXPECTED
Changeset: 160880d3117d
Author: attila
Date: 2015-05-26 14:37 +0200
URL: http://hg.openjdk.java.net/tiered-attrib/dev/nashorn/rev/160880d3117d
8081015: Allow conversion of native arrays to Queue and Collection
Reviewed-by: hannesw, lagergren, sundar
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeJava.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/JSType.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/NashornLinker.java
+ test/src/jdk/nashorn/internal/runtime/test/JDK_8081015_Test.java
+ test/src/jdk/nashorn/test/models/JDK_8081015_TestModel.java
Changeset: 9fba27631f21
Author: attila
Date: 2015-05-26 16:12 +0200
URL: http://hg.openjdk.java.net/tiered-attrib/dev/nashorn/rev/9fba27631f21
8081062: ListAdapter should take advantage of JSObject
Reviewed-by: lagergren, sundar
- src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/JSObjectListAdapter.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ListAdapter.java
! test/src/jdk/nashorn/internal/runtime/test/JDK_8081015_Test.java
Changeset: b5fc67115382
Author: sundar
Date: 2015-05-27 13:16 +0530
URL: http://hg.openjdk.java.net/tiered-attrib/dev/nashorn/rev/b5fc67115382
8007456: Nashorn test framework @argument does not handle quoted strings
Reviewed-by: hannesw, lagergren
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ScriptingFunctions.java
+ test/script/basic/JDK-8007456.js
+ test/script/basic/JDK-8007456.js.EXPECTED
! test/src/jdk/nashorn/internal/test/framework/TestFinder.java
Changeset: cdec24430159
Author: attila
Date: 2015-05-27 14:37 +0300
URL: http://hg.openjdk.java.net/tiered-attrib/dev/nashorn/rev/cdec24430159
8081204: ListAdapter throws NPE when adding/removing elements outside of JS context
Reviewed-by: lagergren, sundar
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ListAdapter.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/resources/Messages.properties
+ test/src/jdk/nashorn/internal/runtime/test/AddAndRemoveOnListAdapterOutsideOfJavaScriptContextTest.java
Changeset: 456ffec2b5ae
Author: sundar
Date: 2015-05-27 22:18 +0530
URL: http://hg.openjdk.java.net/tiered-attrib/dev/nashorn/rev/456ffec2b5ae
8081156: jjs "nashorn.args" system property is not effective when script arguments are passed
Reviewed-by: hannesw, lagergren
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/options/Options.java
+ test/script/basic/JDK-8081156.js
Changeset: b3efc8063d73
Author: katleman
Date: 2015-05-28 16:13 -0700
URL: http://hg.openjdk.java.net/tiered-attrib/dev/nashorn/rev/b3efc8063d73
Added tag jdk9-b66 for changeset 9dd95cff9dae
! .hgtags
Changeset: f822b749821e
Author: lana
Date: 2015-05-28 16:50 -0700
URL: http://hg.openjdk.java.net/tiered-attrib/dev/nashorn/rev/f822b749821e
Merge
- src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/JSObjectListAdapter.java
Changeset: 993dede76f37
Author: attila
Date: 2015-06-01 15:01 +0200
URL: http://hg.openjdk.java.net/tiered-attrib/dev/nashorn/rev/993dede76f37
8066218: UTF-32LE mistakenly detected as UTF-16LE
Reviewed-by: lagergren, sundar
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/Source.java
Changeset: 53e839cab67e
Author: sundar
Date: 2015-06-02 12:42 +0530
URL: http://hg.openjdk.java.net/tiered-attrib/dev/nashorn/rev/53e839cab67e
8081609: engine.eval call from a java method which was called from a previous engine.eval results in wrong ScriptContext being used.
Reviewed-by: attila, lagergren
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/NashornScriptEngine.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/Global.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/Context.java
! test/src/jdk/nashorn/api/scripting/test/ScopeTest.java
Changeset: 6cb8df3f0cc6
Author: darcy
Date: 2015-06-02 00:16 -0700
URL: http://hg.openjdk.java.net/tiered-attrib/dev/nashorn/rev/6cb8df3f0cc6
8075555: Add tiered testing definitions to the nashorn repo
Reviewed-by: lagergren
+ test/ProblemList.txt
! test/TEST.ROOT
+ test/TEST.groups
Changeset: 92f7bf49eb65
Author: attila
Date: 2015-06-02 10:55 +0200
URL: http://hg.openjdk.java.net/tiered-attrib/dev/nashorn/rev/92f7bf49eb65
8066773: JSON-friendly wrapper for objects
Reviewed-by: jlaskey, lagergren, sundar
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/ScriptObjectMirror.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeJava.java
+ src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/JSONListAdapter.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ListAdapter.java
+ test/src/jdk/nashorn/api/scripting/JSONCompatibleTest.java
Changeset: 776551a5b3a2
Author: mhaupt
Date: 2015-06-02 10:40 +0200
URL: http://hg.openjdk.java.net/tiered-attrib/dev/nashorn/rev/776551a5b3a2
8081603: erroneous dot file generated from Nashorn --print-code
Summary: Emit a dot label string-conformant line break instead of a hard one to avoid strings ranging across an EOL.
Reviewed-by: attila, lagergren, sundar
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/debug/NashornTextifier.java
Changeset: 0d4841f2c800
Author: mhaupt
Date: 2015-06-02 10:40 +0200
URL: http://hg.openjdk.java.net/tiered-attrib/dev/nashorn/rev/0d4841f2c800
8081604: rename ScriptingFunctions.tokenizeCommandLine
Summary: This used to be a single-purpose private helper; it is now used by external clients, and for new purposes. Consequently, it deserves a less specific name.
Reviewed-by: attila, lagergren, sundar
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ScriptingFunctions.java
! test/src/jdk/nashorn/internal/test/framework/TestFinder.java
Changeset: 078107e0651f
Author: mhaupt
Date: 2015-06-02 14:34 +0200
URL: http://hg.openjdk.java.net/tiered-attrib/dev/nashorn/rev/078107e0651f
8081668: fix Nashorn ant externals command
Summary: update URLs for Showdown (JavaScript Markdown implementation) download
Reviewed-by: hannesw, sundar
! make/build.xml
Changeset: 14ec7d7af490
Author: mhaupt
Date: 2015-06-02 14:35 +0200
URL: http://hg.openjdk.java.net/tiered-attrib/dev/nashorn/rev/14ec7d7af490
8080275: transparently download testng.jar for Nashorn testing
Summary: Instead of asking the user to manually download and install testng.jar, automate the process via "ant externals".
Reviewed-by: hannesw, sundar
! README
! make/build.xml
! make/project.properties
Changeset: 10553f87f3e7
Author: mhaupt
Date: 2015-06-02 17:08 +0200
URL: http://hg.openjdk.java.net/tiered-attrib/dev/nashorn/rev/10553f87f3e7
8081696: reduce dependency of Nashorn tests on external components
Reviewed-by: attila, sundar
! make/build.xml
Changeset: d47ac275fab7
Author: hannesw
Date: 2015-06-03 09:36 +0200
URL: http://hg.openjdk.java.net/tiered-attrib/dev/nashorn/rev/d47ac275fab7
8066220: Fuzzing bug: MethodHandle bug (Object,Object) != (boolean)Object
Reviewed-by: lagergren, attila, sundar
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/CompiledFunction.java
+ test/script/basic/JDK-8066220.js
+ test/script/basic/JDK-8066220.js.EXPECTED
Changeset: 4da1c371efcb
Author: sundar
Date: 2015-06-03 18:44 +0530
URL: http://hg.openjdk.java.net/tiered-attrib/dev/nashorn/rev/4da1c371efcb
8081809: Missing final modifier in method parameters (nashorn code convention)
Reviewed-by: attila, hannesw
! samples/find_nonfinals.js
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ArrayAccessTreeImpl.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ArrayLiteralTreeImpl.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/AssignmentTreeImpl.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/BinaryTreeImpl.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/BlockTreeImpl.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/BreakTreeImpl.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/CaseTreeImpl.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/CatchTreeImpl.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/CompilationUnitTreeImpl.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/CompoundAssignmentTreeImpl.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ConditionalExpressionTreeImpl.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ContinueTreeImpl.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/DebuggerTreeImpl.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/DoWhileLoopTreeImpl.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/EmptyStatementTreeImpl.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ErroneousTreeImpl.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ExpressionStatementTreeImpl.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ForInLoopTreeImpl.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ForLoopTreeImpl.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/FunctionCallTreeImpl.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/FunctionDeclarationTreeImpl.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/FunctionExpressionTreeImpl.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/IdentifierTreeImpl.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/IfTreeImpl.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/InstanceOfTreeImpl.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/LabeledStatementTreeImpl.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/LineMapImpl.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/LiteralTreeImpl.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/MemberSelectTreeImpl.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/NewTreeImpl.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ObjectLiteralTreeImpl.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/PropertyTreeImpl.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/RegExpLiteralTreeImpl.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ReturnTreeImpl.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/SimpleTreeVisitorES5_1.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/SwitchTreeImpl.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ThrowTreeImpl.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/TreeImpl.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/TryTreeImpl.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/UnaryTreeImpl.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/VariableTreeImpl.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/WhileLoopTreeImpl.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/WithTreeImpl.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/CompilationPhase.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/OptimisticTypesPersistence.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/SplitIntoFunctions.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/SplitReturn.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/TryNode.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/NashornBeansLinker.java
Changeset: f0b1680a8c34
Author: attila
Date: 2015-06-03 16:28 +0200
URL: http://hg.openjdk.java.net/tiered-attrib/dev/nashorn/rev/f0b1680a8c34
8081813: JSONListAdapter should delegate its [[DefaultValue]] to wrapped object
Reviewed-by: lagergren, sundar
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/JSONListAdapter.java
Changeset: 6d8c53e01b75
Author: katleman
Date: 2015-06-04 09:31 -0700
URL: http://hg.openjdk.java.net/tiered-attrib/dev/nashorn/rev/6d8c53e01b75
Added tag jdk9-b67 for changeset f822b749821e
! .hgtags
Changeset: dd6dd848b854
Author: lana
Date: 2015-06-04 18:49 -0700
URL: http://hg.openjdk.java.net/tiered-attrib/dev/nashorn/rev/dd6dd848b854
Merge
Changeset: 0eeaadd17fff
Author: mhaupt
Date: 2015-06-05 12:38 +0200
URL: http://hg.openjdk.java.net/tiered-attrib/dev/nashorn/rev/0eeaadd17fff
8080087: Nashorn $ENV.PWD is originally undefined
Summary: On Windows, the PWD environment variable does not exist and cannot be imported in scripting mode, so it is set explicitly.
Reviewed-by: lagergren, sundar
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/Global.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ScriptingFunctions.java
+ test/script/nosecurity/JDK-8080087.js
Changeset: 15a67b4f8935
Author: sundar
Date: 2015-06-05 19:05 +0530
URL: http://hg.openjdk.java.net/tiered-attrib/dev/nashorn/rev/15a67b4f8935
8085810: Return value of Objects.requireNonNull call can be used
Reviewed-by: lagergren, attila
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/NashornScriptEngineFactory.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/ScriptObjectMirror.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/URLReader.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ParserImpl.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/CompileUnit.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/Global.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ScriptLoader.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/JavaSuperAdapter.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/options/Options.java
Changeset: 09d538ef34f2
Author: sundar
Date: 2015-06-08 13:57 +0530
URL: http://hg.openjdk.java.net/tiered-attrib/dev/nashorn/rev/09d538ef34f2
8085802: Nashorn -nse option causes parse error on anonymous function definition
Reviewed-by: lagergren, attila
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/parser/Parser.java
+ test/script/basic/JDK-8085802.js
Changeset: b8ea01a76cbc
Author: sundar
Date: 2015-06-08 14:10 +0530
URL: http://hg.openjdk.java.net/tiered-attrib/dev/nashorn/rev/b8ea01a76cbc
8085937: add autoimports sample script to easily explore Java classes in interactive mode
Reviewed-by: lagergren, attila
+ samples/autoimports.js
+ samples/dateconversion.js
+ samples/secondssince.js
Changeset: d1689c1df3aa
Author: mhaupt
Date: 2015-06-08 10:28 +0200
URL: http://hg.openjdk.java.net/tiered-attrib/dev/nashorn/rev/d1689c1df3aa
8085885: address Javadoc warnings in Nashorn source code
Reviewed-by: hannesw, lagergren
! src/jdk.scripting.nashorn/share/classes/jdk/internal/dynalink/DynamicLinker.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/ClassEmitter.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/LexicalContext.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/annotations/Constructor.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/annotations/Function.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/annotations/Getter.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/annotations/ScriptClass.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/annotations/Setter.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/annotations/SpecializedFunction.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/parser/JSONParser.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/parser/TokenType.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/JavaAdapterFactory.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/EncodingHelper.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/Syntax.java
Changeset: 87f156db0b42
Author: sundar
Date: 2015-06-09 14:19 +0530
URL: http://hg.openjdk.java.net/tiered-attrib/dev/nashorn/rev/87f156db0b42
8086032: Add compiler error tests when syntax extensions are used with --no-syntax-extensions option
Reviewed-by: attila, hannesw
+ samples/javahelp.js
+ test/script/error/anon_func_stat_nse.js
+ test/script/error/anon_func_stat_nse.js.EXPECTED
+ test/script/error/backquote_string_nse.js
+ test/script/error/backquote_string_nse.js.EXPECTED
+ test/script/error/conditional_catch_nse.js
+ test/script/error/conditional_catch_nse.js.EXPECTED
+ test/script/error/expr_closure_nse.js
+ test/script/error/expr_closure_nse.js.EXPECTED
+ test/script/error/for_each_nse.js
+ test/script/error/for_each_nse.js.EXPECTED
+ test/script/error/hash_comment_nse.js
+ test/script/error/hash_comment_nse.js.EXPECTED
+ test/script/error/heredoc_nse.js
+ test/script/error/heredoc_nse.js.EXPECTED
+ test/script/error/object_literal_in_new_nse.js
+ test/script/error/object_literal_in_new_nse.js.EXPECTED
Changeset: a24cb0bf79bc
Author: mhaupt
Date: 2015-06-09 09:27 +0200
URL: http://hg.openjdk.java.net/tiered-attrib/dev/nashorn/rev/a24cb0bf79bc
8080490: add $EXECV command to Nashorn scripting mode
Summary: Additional arguments to the command line can be passed as a single array, or as a sequence of varargs.
Reviewed-by: attila, hannesw
+ samples/exec.js
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ScriptObject.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ScriptingFunctions.java
Changeset: 2e50107b1738
Author: sundar
Date: 2015-06-11 13:33 +0530
URL: http://hg.openjdk.java.net/tiered-attrib/dev/nashorn/rev/2e50107b1738
8087136: regression: apply on $EXEC fails with ClassCastException
Reviewed-by: hannesw, lagergren
! samples/exec.js
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ScriptObject.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ScriptingFunctions.java
Changeset: 179b3de401eb
Author: lana
Date: 2015-06-11 10:44 -0700
URL: http://hg.openjdk.java.net/tiered-attrib/dev/nashorn/rev/179b3de401eb
Added tag jdk9-b68 for changeset dd6dd848b854
! .hgtags
Changeset: 194b74467afc
Author: lana
Date: 2015-06-11 20:19 -0700
URL: http://hg.openjdk.java.net/tiered-attrib/dev/nashorn/rev/194b74467afc
Merge
Changeset: 5808c1886a90
Author: sundar
Date: 2015-06-12 16:55 +0530
URL: http://hg.openjdk.java.net/tiered-attrib/dev/nashorn/rev/5808c1886a90
8087211: Indirect evals should be strict with -strict option
Reviewed-by: lagergren, hannesw
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/ScriptObjectMirror.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/Global.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeFunction.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/Context.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/DebuggerSupport.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/tools/Shell.java
+ test/script/basic/JDK-8087211.js
+ test/script/basic/JDK-8087211_2.js
! test/src/jdk/nashorn/api/scripting/JSONCompatibleTest.java
Changeset: bd783ddc4333
Author: hannesw
Date: 2015-06-15 15:37 +0200
URL: http://hg.openjdk.java.net/tiered-attrib/dev/nashorn/rev/bd783ddc4333
8086052: Script evaluation should not return last function declaration
Reviewed-by: sundar, attila
! samples/javahelp.js
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/Lower.java
! test/script/basic/evalreturn.js
! test/script/basic/evalreturn.js.EXPECTED
! test/src/jdk/nashorn/api/scripting/test/ScriptObjectMirrorTest.java
Changeset: 0e28af5ee013
Author: hannesw
Date: 2015-06-15 15:49 +0200
URL: http://hg.openjdk.java.net/tiered-attrib/dev/nashorn/rev/0e28af5ee013
8098546: eval within a 'with' leaks definitions into global scope
Reviewed-by: sundar, attila
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ScriptRuntime.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/WithObject.java
+ test/script/basic/JDK-8098546.js
Changeset: 8f389acf77f0
Author: hannesw
Date: 2015-06-16 13:25 +0200
URL: http://hg.openjdk.java.net/tiered-attrib/dev/nashorn/rev/8f389acf77f0
8098807: Strict eval throws ClassCastException with large scripts
Reviewed-by: sundar, attila
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/Compiler.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/Splitter.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/Context.java
+ test/script/basic/JDK-8098807-payload.js
+ test/script/basic/JDK-8098807.js
Changeset: 87f7ef8273bc
Author: sundar
Date: 2015-06-16 18:26 +0530
URL: http://hg.openjdk.java.net/tiered-attrib/dev/nashorn/rev/87f7ef8273bc
8098578: Global scope is not accessible with indirect load call
Reviewed-by: attila, hannesw
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/Global.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/Context.java
+ test/script/basic/JDK-8098578.js
Changeset: 93e4c151d6cc
Author: hannesw
Date: 2015-06-17 09:10 +0200
URL: http://hg.openjdk.java.net/tiered-attrib/dev/nashorn/rev/93e4c151d6cc
8087312: PropertyMapWrapper.equals should compare className
Reviewed-by: sundar, attila
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/ConstantData.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/PropertyMap.java
+ test/script/basic/JDK-8087312.js
Changeset: 7e06231229fd
Author: sundar
Date: 2015-06-17 14:21 +0530
URL: http://hg.openjdk.java.net/tiered-attrib/dev/nashorn/rev/7e06231229fd
8098847: obj."prop" and obj.'prop' should result in SyntaxError
Reviewed-by: hannesw, attila
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/types/BooleanType.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/parser/AbstractParser.java
+ test/script/error/JDK-8098847.js
+ test/script/error/JDK-8098847.js.EXPECTED
Changeset: cd94e97584a0
Author: hannesw
Date: 2015-06-17 13:56 +0200
URL: http://hg.openjdk.java.net/tiered-attrib/dev/nashorn/rev/cd94e97584a0
8098808: Convert Scope from interface to class
Reviewed-by: sundar, attila
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/Global.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeDebug.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/Context.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/FunctionScope.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/Scope.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ScriptObject.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/WithObject.java
Changeset: a35490e96dc5
Author: sundar
Date: 2015-06-18 19:20 +0530
URL: http://hg.openjdk.java.net/tiered-attrib/dev/nashorn/rev/a35490e96dc5
8117883: nasgen prototype, instance member count calculation is wrong
Reviewed-by: hannesw, lagergren
! buildtools/nasgen/src/jdk/nashorn/internal/tools/nasgen/ConstructorGenerator.java
! buildtools/nasgen/src/jdk/nashorn/internal/tools/nasgen/Main.java
! buildtools/nasgen/src/jdk/nashorn/internal/tools/nasgen/ScriptClassInfo.java
! buildtools/nasgen/src/jdk/nashorn/internal/tools/nasgen/ScriptClassInfoCollector.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ScriptObject.java
More information about the tiered-attrib-dev
mailing list