hg: jdk9/hs-emb/nashorn: 28 new changesets

alejandro.murillo at oracle.com alejandro.murillo at oracle.com
Fri Dec 12 18:40:33 UTC 2014


Changeset: e26843ca558b
Author:    hannesw
Date:      2014-11-27 16:42 +0100
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/nashorn/rev/e26843ca558b

8057980: let & const: remaining issues with lexical scoping
Reviewed-by: lagergren, attila

! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/AssignSymbols.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/CodeGenerator.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/Lower.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/ForNode.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/LexicalContext.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/LoopNode.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/VarNode.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/WhileNode.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/parser/Parser.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/parser/ParserContextSwitchNode.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ScriptObject.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/ArrayData.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/resources/Messages.properties
! test/script/basic/es6/for-let.js
! test/script/basic/es6/for-let.js.EXPECTED
+ test/script/basic/es6/let-const-statement-context.js
+ test/script/basic/es6/let-const-statement-context.js.EXPECTED
+ test/script/basic/es6/let-const-switch.js
+ test/script/basic/es6/let-const-switch.js.EXPECTED
! test/script/basic/es6/let-load.js
! test/script/basic/es6/let-load.js.EXPECTED
! test/script/basic/es6/let_const_closure.js.EXPECTED
! test/script/basic/es6/lexical-toplevel.js.EXPECTED

Changeset: e033e2c32122
Author:    lagergren
Date:      2014-11-28 11:02 +0100
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/nashorn/rev/e033e2c32122

8066119: Invalid resource tag used for looking up error message in NativeDataView
Reviewed-by: hannesw, sundar

! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeDataView.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/resources/Messages.properties

Changeset: 083bbe7e2d5f
Author:    lagergren
Date:      2014-12-01 13:17 +0100
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/nashorn/rev/083bbe7e2d5f

8066238: AssertionError in parser when syntax errors appeared in non finished Blocks
Reviewed-by: hannesw, sundar, lagergren
Contributed-by: andreas.gabrielsson at oracle.com

! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/parser/Parser.java
+ test/script/basic/JDK-8066238.js

Changeset: 69de08fa3ee6
Author:    hannesw
Date:      2014-12-03 11:43 +0100
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/nashorn/rev/69de08fa3ee6

8066214: Fuzzing bug: Object.prototype.toLocaleString(0)
Reviewed-by: attila, lagergren

! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeObject.java
+ test/script/basic/JDK-8066214.js
+ test/script/basic/JDK-8066214.js.EXPECTED

Changeset: 7437eb72fc4e
Author:    hannesw
Date:      2014-12-03 14:49 +0100
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/nashorn/rev/7437eb72fc4e

8065769: OOM on Window/Solaris in test compile-octane-splitter.js
Reviewed-by: sundar, jlaskey

! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/AstSerializer.java

Changeset: c065853b25fe
Author:    attila
Date:      2014-12-03 16:31 +0100
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/nashorn/rev/c065853b25fe

8066222: too strong assertion on function expression names
Reviewed-by: hannesw, lagergren

! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/AssignSymbols.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/FunctionNode.java
+ test/script/basic/JDK-8066222.js
+ test/script/basic/JDK-8066222.js.EXPECTED

Changeset: f0345e058826
Author:    attila
Date:      2014-12-03 16:31 +0100
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/nashorn/rev/f0345e058826

8066232: problem with conditional catch compilation
Reviewed-by: hannesw, lagergren

! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/CodeGenerator.java
+ test/script/basic/JDK-8066232.js
+ test/script/basic/JDK-8066232.js.EXPECTED

Changeset: 52340a35aec9
Author:    chegar
Date:      2014-12-03 14:26 +0000
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/nashorn/rev/52340a35aec9

8049367: Modular Run-Time Images
Reviewed-by: chegar, dfuchs, ihse, joehw, mullan, psandoz, wetmore
Contributed-by: alan.bateman at oracle.com, alex.buckley at oracle.com, bradford.wetmore at oracle.com, chris.hegarty at oracle.com, erik.joelsson at oracle.com, james.laskey at oracle.com, jonathan.gibbons at oracle.com, karen.kinnear at oracle.com, magnus.ihse.bursie at oracle.com, mandy.chung at oracle.com, mark.reinhold at oracle.com, paul.sandoz at oracle.com, sundararajan.athijegannathan at oracle.com

! make/BuildNashorn.gmk
! make/build.xml
! test/script/nosecurity/JDK-8050964.js
! test/script/nosecurity/JDK-8055034.js
! test/src/jdk/nashorn/internal/test/framework/ScriptRunnable.java

Changeset: a64d69fb8eb3
Author:    chegar
Date:      2014-12-03 17:55 +0000
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/nashorn/rev/a64d69fb8eb3

Merge

- src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/BoundDynamicMethod.java
- src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/BoundDynamicMethodLinker.java
! test/script/nosecurity/JDK-8050964.js
! test/script/nosecurity/JDK-8055034.js

Changeset: 687430164864
Author:    sundar
Date:      2014-12-04 20:40 +0530
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/nashorn/rev/687430164864

8066683: nashorn test failures after modular image changes
Reviewed-by: attila, jlaskey

! make/build.xml
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/AstDeserializer.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/BrowserJSObjectLinker.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/JavaAdapterClassLoader.java
! test/script/basic/JDK-8066232.js

Changeset: 1c7fd53d4205
Author:    sundar
Date:      2014-12-04 21:52 +0530
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/nashorn/rev/1c7fd53d4205

8066696: test/script/nosecurity/JDK-8055034.js -Xbootclasspath option is wrong
Reviewed-by: attila, lagergren

! test/script/nosecurity/JDK-8055034.js

Changeset: 93f187b5cb87
Author:    katleman
Date:      2014-12-04 12:58 -0800
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/nashorn/rev/93f187b5cb87

Added tag jdk9-b41 for changeset 52340a35aec9

! .hgtags

Changeset: 498d1d6c4219
Author:    lana
Date:      2014-12-04 15:23 -0800
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/nashorn/rev/498d1d6c4219

Merge

- src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/BoundDynamicMethod.java
- src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/BoundDynamicMethodLinker.java

Changeset: deeaf44a2ca1
Author:    sundar
Date:      2014-12-05 14:35 +0530
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/nashorn/rev/deeaf44a2ca1

8066749: jdk9-dev/nashorn ant build fails with jdk9 modular image build as JAVA_HOME
Reviewed-by: lagergren, hannesw

! buildtools/nasgen/build.xml
! make/build-nasgen.xml
! make/build.xml
! make/project.properties
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/OptimisticTypesPersistence.java
! test/script/basic/JDK-8059443.js

Changeset: 7fcaec1cf5ac
Author:    sundar
Date:      2014-12-05 19:01 +0530
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/nashorn/rev/7fcaec1cf5ac

8066753: OptimisticTypePersistence.java should work properly with "jrt" URL
Reviewed-by: lagergren, attila

! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/OptimisticTypesPersistence.java

Changeset: f2b8db166d11
Author:    sundar
Date:      2014-12-05 20:17 +0530
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/nashorn/rev/f2b8db166d11

8066777: OptimisticTypesPersistence.java should use Files.readAllBytes instead of getting size and then read
Reviewed-by: attila, lagergren
Contributed-by: paul.sandoz at oracle.com

! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/OptimisticTypesPersistence.java

Changeset: 83951bd95ac2
Author:    attila
Date:      2014-12-08 15:13 +0100
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/nashorn/rev/83951bd95ac2

8066230: Undefined object type assertion when computing TypeBounds
Reviewed-by: hannesw, lagergren

! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/CodeGenerator.java
+ test/script/basic/JDK-8066230.js
+ test/script/basic/JDK-8066230.js.EXPECTED

Changeset: e5b476bff0bd
Author:    attila
Date:      2014-12-08 15:14 +0100
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/nashorn/rev/e5b476bff0bd

8066227: CodeGenerator load unitialized slot
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/LocalVariableTypesCalculator.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/BinaryNode.java
+ test/script/basic/JDK-8066227.js
+ test/script/basic/JDK-8066227.js.EXPECTED

Changeset: f3a3d20c03f8
Author:    attila
Date:      2014-12-10 11:55 +0100
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/nashorn/rev/f3a3d20c03f8

8066225: NPE in MethodEmitter with duplicate integer switch cases
Reviewed-by: hannesw, lagergren

! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/AssignSymbols.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/CodeGenerator.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/FoldConstants.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/SwitchNode.java
+ test/script/basic/JDK-8066225.js
+ test/script/basic/JDK-8066225.js.EXPECTED

Changeset: 42f7a7a8f34d
Author:    attila
Date:      2014-12-10 11:55 +0100
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/nashorn/rev/42f7a7a8f34d

8066224: fixes for folding a constant-test ternary operator
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/FoldConstants.java
+ test/script/basic/JDK-8066224.js
+ test/script/basic/JDK-8066224.js.EXPECTED

Changeset: 81752184ec8a
Author:    attila
Date:      2014-12-10 12:30 +0100
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/nashorn/rev/81752184ec8a

8066236: RuntimeNode forces copy creation on visitation
Reviewed-by: hannesw, lagergren

! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/LocalVariableTypesCalculator.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/RuntimeNode.java
+ test/script/basic/JDK-8066236.js
+ test/script/basic/JDK-8066236.js.EXPECTED

Changeset: 5cda82fecbc5
Author:    sundar
Date:      2014-12-10 19:42 +0530
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/nashorn/rev/5cda82fecbc5

8067136: BrowserJSObjectLinker does not handle call on JSObjects
Reviewed-by: attila, hannesw, lagergren

+ samples/browser_dom.js
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/BrowserJSObjectLinker.java
+ test/script/basic/JDK-8067136.js
+ test/script/basic/JDK-8067136.js.EXPECTED

Changeset: 31758a52bd55
Author:    attila
Date:      2014-12-10 18:28 +0100
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/nashorn/rev/31758a52bd55

8066221: anonymous function statement name clashes with another symbol
Reviewed-by: lagergren, sundar

! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/parser/Parser.java
+ test/script/basic/JDK-8066221.js

Changeset: 5eab6cf7f697
Author:    hannesw
Date:      2014-12-11 12:01 +0100
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/nashorn/rev/5eab6cf7f697

8066932: __noSuchMethod__ binds to this-object without proper guard
Reviewed-by: attila, lagergren

! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ScriptObject.java
+ test/script/basic/JDK-8066932.js

Changeset: 7c1cff3cae2e
Author:    hannesw
Date:      2014-12-11 15:39 +0100
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/nashorn/rev/7c1cff3cae2e

8066669: dust.js performance regression caused by primitive field conversion
Reviewed-by: attila, sundar

! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/CodeGenerator.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/Lower.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/MethodEmitter.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/SharedScopeCall.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/AccessNode.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ScriptObject.java
+ test/script/basic/JDK-8066669.js
+ test/script/basic/JDK-8066669.js.EXPECTED
! test/script/basic/list.js.EXPECTED

Changeset: c4c3be2ab854
Author:    hannesw
Date:      2014-12-11 19:15 +0100
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/nashorn/rev/c4c3be2ab854

8067219: NPE in ScriptObject.clone() when running with object fields
Reviewed-by: attila, lagergren

! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/CodeGenerator.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ScriptObject.java
+ test/script/basic/es6/for-let-object-fields.js
+ test/script/basic/es6/for-let-object-fields.js.EXPECTED
! test/script/basic/es6/for-let.js

Changeset: 237b4a1f511f
Author:    katleman
Date:      2014-12-11 11:44 -0800
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/nashorn/rev/237b4a1f511f

Added tag jdk9-b42 for changeset 498d1d6c4219

! .hgtags

Changeset: 8ae8dff2a28f
Author:    lana
Date:      2014-12-11 12:26 -0800
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/nashorn/rev/8ae8dff2a28f

Merge




More information about the jdk9-hs-emb-changes mailing list