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

alejandro.murillo at oracle.com alejandro.murillo at oracle.com
Fri Jun 27 18:03:49 UTC 2014


Changeset: 6afee63aa1cc
Author:    attila
Date:      2014-06-23 10:59 +0200
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/nashorn/rev/6afee63aa1cc

8046905: apply on apply is broken
Reviewed-by: hannesw, lagergren

! src/jdk/nashorn/internal/runtime/ScriptFunction.java
! src/jdk/nashorn/internal/runtime/ScriptObject.java
+ test/script/basic/JDK-8046905.js
+ test/script/basic/JDK-8046905.js.EXPECTED
! test/script/basic/JDK-8047057.js

Changeset: 3edd4da9386f
Author:    sundar
Date:      2014-06-23 21:23 +0530
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/nashorn/rev/3edd4da9386f

8047728: (function(x){var o={x:0}; with(o){delete x} return o.x})() evaluates to 0 instead of undefined
Reviewed-by: jlaskey, hannesw, attila

+ bin/jjsdebug.sh
! make/nbproject/ide-targets.xml
! src/jdk/nashorn/internal/codegen/AssignSymbols.java
! src/jdk/nashorn/internal/codegen/LocalVariableTypesCalculator.java
+ test/script/basic/JDK-8047728.js

Changeset: 72493c5057dd
Author:    hannesw
Date:      2014-06-23 18:32 +0200
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/nashorn/rev/72493c5057dd

8046201: Avoid repeated flattening of nested ConsStrings
Reviewed-by: lagergren, attila

! src/jdk/nashorn/internal/runtime/ConsString.java
+ test/src/jdk/nashorn/internal/runtime/ConsStringTest.java

Changeset: 4f3468f46d20
Author:    sundar
Date:      2014-06-24 19:43 +0530
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/nashorn/rev/4f3468f46d20

8047959: bindings created for declarations in eval code are not mutable
Reviewed-by: jlaskey, attila

! src/jdk/nashorn/internal/codegen/CodeGenerator.java
! src/jdk/nashorn/internal/codegen/FieldObjectCreator.java
! src/jdk/nashorn/internal/codegen/LocalVariableTypesCalculator.java
! src/jdk/nashorn/internal/codegen/MapCreator.java
! src/jdk/nashorn/internal/objects/Global.java
! src/jdk/nashorn/internal/runtime/Context.java
! src/jdk/nashorn/internal/runtime/Source.java
+ test/script/basic/JDK-8047959.js
+ test/script/basic/JDK-8047959.js.EXPECTED

Changeset: cf90d5f11b98
Author:    attila
Date:      2014-06-24 19:29 +0200
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/nashorn/rev/cf90d5f11b98

8048009: Type info caching accidentally defeated
Reviewed-by: hannesw, jlaskey

! src/jdk/nashorn/internal/codegen/Compiler.java
! src/jdk/nashorn/internal/codegen/OptimisticTypesPersistence.java

Changeset: a8bab91498c2
Author:    sundar
Date:      2014-06-25 17:08 +0530
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/nashorn/rev/a8bab91498c2

8048071: eval within 'with' statement does not use correct scope if with scope expression has a copy of eval
Reviewed-by: hannesw, jlaskey

! src/jdk/nashorn/internal/codegen/CodeGenerator.java
! src/jdk/nashorn/internal/ir/IdentNode.java
+ test/script/basic/JDK-8048071.js
+ test/script/basic/JDK-8048071.js.EXPECTED

Changeset: 0489dcbb882b
Author:    hannesw
Date:      2014-06-25 14:36 +0200
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/nashorn/rev/0489dcbb882b

8048079: Persistent code store is broken after optimistic types merge
Reviewed-by: sundar, jlaskey, attila

! src/jdk/nashorn/internal/codegen/CompilationPhase.java
! src/jdk/nashorn/internal/runtime/Context.java
! src/jdk/nashorn/internal/runtime/RecompilableScriptFunctionData.java
+ test/script/basic/JDK-8048079_1.js
+ test/script/basic/JDK-8048079_1.js.EXPECTED
+ test/script/basic/JDK-8048079_2.js
+ test/script/basic/JDK-8048079_2.js.EXPECTED
! test/src/jdk/nashorn/internal/runtime/CodeStoreAndPathTest.java

Changeset: 6ab069e48456
Author:    attila
Date:      2014-06-26 13:12 +0200
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/nashorn/rev/6ab069e48456

8047357: More precise synthetic return + unreachable throw
Reviewed-by: lagergren, sundar

! src/jdk/nashorn/internal/codegen/AssignSymbols.java
! src/jdk/nashorn/internal/codegen/CodeGenerator.java
! src/jdk/nashorn/internal/codegen/LocalVariableTypesCalculator.java
! src/jdk/nashorn/internal/codegen/Lower.java
! src/jdk/nashorn/internal/ir/Block.java
! src/jdk/nashorn/internal/ir/CaseNode.java
! src/jdk/nashorn/internal/ir/ExpressionStatement.java
! src/jdk/nashorn/internal/ir/IdentNode.java
! src/jdk/nashorn/internal/ir/Node.java
! src/jdk/nashorn/internal/ir/Statement.java
+ src/jdk/nashorn/internal/ir/Terminal.java
! src/jdk/nashorn/internal/ir/debug/ASTWriter.java
! src/jdk/nashorn/internal/ir/debug/PrintVisitor.java
! test/script/basic/JDK-8047057.js
+ test/script/basic/JDK-8047357.js
+ test/script/basic/JDK-8047357.js.EXPECTED

Changeset: 75a86907fa90
Author:    attila
Date:      2014-06-26 15:36 +0200
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/nashorn/rev/75a86907fa90

8047371: local variable declaration in TypeEvaluator should use ScriptObject.addOwnProperty instead of .set
Reviewed-by: jlaskey, lagergren

! src/jdk/nashorn/internal/codegen/TypeEvaluator.java
+ test/script/basic/JDK-8047371.js
+ test/script/basic/JDK-8047371.js.EXPECTED



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