hg: jdk8/tl/nashorn: 21 new changesets

sundararajan.athijegannathan at oracle.com sundararajan.athijegannathan at oracle.com
Tue Apr 30 01:52:18 PDT 2013


Changeset: 0547a1c76259
Author:    attila
Date:      2013-04-23 12:52 +0200
URL:       http://hg.openjdk.java.net/jdk8/tl/nashorn/rev/0547a1c76259

8011065: Problems when script implements an interface with variadic methods
Reviewed-by: jlaskey, hannesw, sundar

! src/jdk/nashorn/internal/codegen/CodeGenerator.java
! src/jdk/nashorn/internal/runtime/ScriptObject.java
! src/jdk/nashorn/internal/runtime/linker/JavaAdapterBytecodeGenerator.java
! src/jdk/nashorn/internal/runtime/linker/JavaAdapterServices.java
! test/src/jdk/nashorn/api/scripting/ScriptEngineTest.java
+ test/src/jdk/nashorn/api/scripting/VariableArityTestInterface.java

Changeset: 32036918585d
Author:    attila
Date:      2013-04-23 16:48 +0200
URL:       http://hg.openjdk.java.net/jdk8/tl/nashorn/rev/32036918585d

8010731: Don't expose internal symbols to scripts
Reviewed-by: jlaskey, lagergren

! src/jdk/nashorn/internal/codegen/CompilerConstants.java
! src/jdk/nashorn/internal/codegen/ObjectClassGenerator.java

Changeset: a6c53280343d
Author:    hannesw
Date:      2013-04-24 13:28 +0200
URL:       http://hg.openjdk.java.net/jdk8/tl/nashorn/rev/a6c53280343d

8012334: ToUint32, ToInt32, and ToUint16 don't conform to spec
Reviewed-by: lagergren, attila

! src/jdk/nashorn/internal/codegen/CodeGenerator.java
! src/jdk/nashorn/internal/codegen/FoldConstants.java
! src/jdk/nashorn/internal/objects/NativeArray.java
! src/jdk/nashorn/internal/objects/NativeUint32Array.java
! src/jdk/nashorn/internal/runtime/JSType.java
! src/jdk/nashorn/internal/runtime/ScriptObject.java
! src/jdk/nashorn/internal/runtime/arrays/SparseArrayData.java
+ test/examples/int-micro.js
+ test/script/basic/JDK-8012334.js
+ test/script/basic/JDK-8012334.js.EXPECTED
! test/src/jdk/nashorn/internal/runtime/JSTypeTest.java

Changeset: 3974ce844f17
Author:    hannesw
Date:      2013-04-24 13:34 +0200
URL:       http://hg.openjdk.java.net/jdk8/tl/nashorn/rev/3974ce844f17

8012931: NativeDate.safeToString() throws RangeError for invalid date
Reviewed-by: lagergren, attila

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

Changeset: e959c7969f3b
Author:    hannesw
Date:      2013-04-24 13:36 +0200
URL:       http://hg.openjdk.java.net/jdk8/tl/nashorn/rev/e959c7969f3b

8008238: Labeled break in finally causes stack overflow in Node copy
Reviewed-by: lagergren, attila

+ test/script/basic/JDK-8008238.js

Changeset: c0a10bbf6752
Author:    jlaskey
Date:      2013-04-24 14:25 -0300
URL:       http://hg.openjdk.java.net/jdk8/tl/nashorn/rev/c0a10bbf6752

8012251: jjs should support -fx option
Reviewed-by: sundar, attila, lagergren
Contributed-by: james.laskey at oracle.com

! src/jdk/nashorn/internal/runtime/Context.java
! src/jdk/nashorn/internal/runtime/ScriptEnvironment.java
! src/jdk/nashorn/internal/runtime/resources/Options.properties
+ src/jdk/nashorn/internal/runtime/resources/fx/base.js
+ src/jdk/nashorn/internal/runtime/resources/fx/bootstrap.js
+ src/jdk/nashorn/internal/runtime/resources/fx/controls.js
+ src/jdk/nashorn/internal/runtime/resources/fx/fxml.js
+ src/jdk/nashorn/internal/runtime/resources/fx/graphics.js
+ src/jdk/nashorn/internal/runtime/resources/fx/media.js
+ src/jdk/nashorn/internal/runtime/resources/fx/swing.js
+ src/jdk/nashorn/internal/runtime/resources/fx/swt.js
+ src/jdk/nashorn/internal/runtime/resources/fx/web.js
! src/jdk/nashorn/tools/Shell.java
! tools/fxshell/jdk/nashorn/tools/FXShell.java

Changeset: 9ad1ebb44c86
Author:    hannesw
Date:      2013-04-25 14:20 +0200
URL:       http://hg.openjdk.java.net/jdk8/tl/nashorn/rev/9ad1ebb44c86

8013131: Various compatibility issues in String.prototype.split()
Reviewed-by: lagergren, jlaskey

! src/jdk/nashorn/internal/objects/NativeJSON.java
! src/jdk/nashorn/internal/objects/NativeRegExp.java
! src/jdk/nashorn/internal/objects/NativeRegExpExecResult.java
! src/jdk/nashorn/internal/objects/NativeString.java
+ test/script/basic/JDK-8013131.js
+ test/script/basic/JDK-8013131.js.EXPECTED

Changeset: ff1e4655a57f
Author:    attila
Date:      2013-04-25 14:47 +0200
URL:       http://hg.openjdk.java.net/jdk8/tl/nashorn/rev/ff1e4655a57f

8013203: A collection of smaller speedups to compilation pipeline
Reviewed-by: hannesw, jlaskey

! src/jdk/nashorn/internal/codegen/CodeGenerator.java
! src/jdk/nashorn/internal/codegen/FinalizeTypes.java
! src/jdk/nashorn/internal/codegen/MethodEmitter.java
! src/jdk/nashorn/internal/codegen/ObjectClassGenerator.java
! src/jdk/nashorn/internal/parser/Lexer.java
! src/jdk/nashorn/internal/runtime/AccessorProperty.java

Changeset: fd0b969a6d07
Author:    attila
Date:      2013-04-25 15:31 +0200
URL:       http://hg.openjdk.java.net/jdk8/tl/nashorn/rev/fd0b969a6d07

8013167: Vararg constructor not found
Reviewed-by: jlaskey, lagergren, sundar

! src/jdk/internal/dynalink/beans/StaticClassIntrospector.java
! src/jdk/internal/dynalink/beans/StaticClassLinker.java
+ test/script/basic/JDK-8013167.js
+ test/script/basic/JDK-8013167.js.EXPECTED
+ test/src/jdk/nashorn/test/models/VarArgConstructor.java

Changeset: 215d9b042cb6
Author:    sundar
Date:      2013-04-26 12:17 +0530
URL:       http://hg.openjdk.java.net/jdk8/tl/nashorn/rev/215d9b042cb6

8013295: ScriptEngineTest.java fails with compilation error when running under jtreg
Reviewed-by: attila, hannesw

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

Changeset: 7917ef020898
Author:    attila
Date:      2013-04-26 09:20 +0200
URL:       http://hg.openjdk.java.net/jdk8/tl/nashorn/rev/7917ef020898

8013325: function named 'arguments' should set DEFINES_ARGUMENTS flag in its parent, not itself
Reviewed-by: hannesw, sundar

! src/jdk/internal/dynalink/beans/StaticClassIntrospector.java
! src/jdk/nashorn/internal/codegen/Attr.java
! src/jdk/nashorn/internal/ir/LexicalContext.java
! src/jdk/nashorn/internal/objects/NativeString.java
! src/jdk/nashorn/internal/parser/Parser.java
+ test/script/basic/JDK-8013325.js
+ test/script/basic/JDK-8013325.js.EXPECTED

Changeset: 5c98cc846f92
Author:    jlaskey
Date:      2013-04-26 09:48 -0300
URL:       http://hg.openjdk.java.net/jdk8/tl/nashorn/rev/5c98cc846f92

8013208: Octane performance regression
Reviewed-by: hannesw, sundar
Contributed-by: james.laskey at oracle.com

! src/jdk/nashorn/internal/runtime/ScriptObject.java
! src/jdk/nashorn/internal/runtime/arrays/ArrayIndex.java

Changeset: b532eeab085f
Author:    sundar
Date:      2013-04-26 18:31 +0530
URL:       http://hg.openjdk.java.net/jdk8/tl/nashorn/rev/b532eeab085f

8013337: Issues with Date.prototype's get, set functions
Reviewed-by: jlaskey, hannesw, lagergren

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

Changeset: c62144b08c65
Author:    hannesw
Date:      2013-04-26 17:35 +0200
URL:       http://hg.openjdk.java.net/jdk8/tl/nashorn/rev/c62144b08c65

8006559: Octane:pdfjs leaks memory, runs slower iteration to iteration
Reviewed-by: attila, sundar, jlaskey

! buildtools/nasgen/src/jdk/nashorn/internal/tools/nasgen/ConstructorGenerator.java
! buildtools/nasgen/src/jdk/nashorn/internal/tools/nasgen/StringConstants.java
! src/jdk/nashorn/internal/objects/BoundScriptFunctionImpl.java
! src/jdk/nashorn/internal/objects/NativeDebug.java
! src/jdk/nashorn/internal/objects/ScriptFunctionImpl.java
! src/jdk/nashorn/internal/runtime/PropertyListenerManager.java
! src/jdk/nashorn/internal/runtime/ScriptFunction.java

Changeset: 241904013024
Author:    sundar
Date:      2013-04-26 22:29 +0530
URL:       http://hg.openjdk.java.net/jdk8/tl/nashorn/rev/241904013024

8013369: nashorn build failure with jdk8 b84
Reviewed-by: hannesw

! make/build-nasgen.xml

Changeset: ef4c1f3aa9ed
Author:    jlaskey
Date:      2013-04-26 15:13 -0300
URL:       http://hg.openjdk.java.net/jdk8/tl/nashorn/rev/ef4c1f3aa9ed

8013360: Should be using JavaFX 8 classes for -fx support
Reviewed-by: hannesw, sundar
Contributed-by: james.laskey at oracle.com

! src/jdk/nashorn/internal/runtime/resources/fx/base.js
! src/jdk/nashorn/internal/runtime/resources/fx/controls.js
! src/jdk/nashorn/internal/runtime/resources/fx/fxml.js
! src/jdk/nashorn/internal/runtime/resources/fx/graphics.js
! src/jdk/nashorn/internal/runtime/resources/fx/media.js
! src/jdk/nashorn/internal/runtime/resources/fx/swing.js
! src/jdk/nashorn/internal/runtime/resources/fx/swt.js
! src/jdk/nashorn/internal/runtime/resources/fx/web.js

Changeset: e8d7298f29a1
Author:    attila
Date:      2013-04-29 13:21 +0200
URL:       http://hg.openjdk.java.net/jdk8/tl/nashorn/rev/e8d7298f29a1

8013419: Streamline handling of with and eval
Reviewed-by: hannesw, lagergren

! src/jdk/nashorn/internal/codegen/Attr.java
! src/jdk/nashorn/internal/codegen/CodeGenerator.java
! src/jdk/nashorn/internal/codegen/MethodEmitter.java
! src/jdk/nashorn/internal/ir/CallNode.java
! src/jdk/nashorn/internal/ir/FunctionNode.java
! src/jdk/nashorn/internal/ir/LexicalContext.java
! src/jdk/nashorn/internal/parser/Parser.java
! src/jdk/nashorn/internal/runtime/linker/NashornCallSiteDescriptor.java

Changeset: ada2ca9aeac5
Author:    sundar
Date:      2013-04-29 18:40 +0530
URL:       http://hg.openjdk.java.net/jdk8/tl/nashorn/rev/ada2ca9aeac5

8013444: JSON.parse does not invoke "reviver" callback as per spec.
Reviewed-by: jlaskey, hannesw

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

Changeset: 630372cb8f2a
Author:    attila
Date:      2013-04-29 23:22 +0200
URL:       http://hg.openjdk.java.net/jdk8/tl/nashorn/rev/630372cb8f2a

8008814: Configurable ignore/warning/error behavior for function declaration as statement
Reviewed-by: jlaskey, sundar

! src/jdk/nashorn/internal/parser/AbstractParser.java
! src/jdk/nashorn/internal/parser/Parser.java
! src/jdk/nashorn/internal/runtime/ScriptEnvironment.java
! src/jdk/nashorn/internal/runtime/options/Options.java
! src/jdk/nashorn/internal/runtime/resources/Options.properties
+ test/script/basic/JDK-8008814-3.js
+ test/script/basic/JDK-8008814-3.js.EXPECTED
+ test/script/basic/JDK-8008814-4.js
+ test/script/basic/JDK-8008814-4.js.EXPECTED
+ test/script/error/JDK-8008814-1.js
+ test/script/error/JDK-8008814-1.js.EXPECTED
+ test/script/error/JDK-8008814-2.js
+ test/script/error/JDK-8008814-2.js.EXPECTED

Changeset: 3f339ab2d050
Author:    jlaskey
Date:      2013-04-29 21:38 -0300
URL:       http://hg.openjdk.java.net/jdk8/tl/nashorn/rev/3f339ab2d050

Merge


Changeset: ad28f2b52b12
Author:    lagergren
Date:      2013-04-30 09:42 +0200
URL:       http://hg.openjdk.java.net/jdk8/tl/nashorn/rev/ad28f2b52b12

8013533: Increase code coverage report for types and logging
Reviewed-by: hannesw, sundar

! src/jdk/nashorn/internal/codegen/types/BooleanType.java
! src/jdk/nashorn/internal/codegen/types/IntType.java
! src/jdk/nashorn/internal/codegen/types/LongType.java
! src/jdk/nashorn/internal/codegen/types/NumberType.java
! src/jdk/nashorn/internal/codegen/types/Type.java
! test/script/error/JDK-8008814-1.js.EXPECTED
! test/script/error/JDK-8008814-2.js.EXPECTED
+ test/script/trusted/logcoverage.js
+ test/script/trusted/logcoverage.js.EXPECTED



More information about the security-dev mailing list