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

alejandro.murillo at oracle.com alejandro.murillo at oracle.com
Fri Jul 11 22:51:00 UTC 2014


Changeset: 2bb8aaa1192e
Author:    lagergren
Date:      2014-06-27 10:47 +0200
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/nashorn/rev/2bb8aaa1192e

8048505: ScriptingFunctions.readFully couldn't handle file names represented as ConsStrings
Reviewed-by: sundar, hannesw

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

Changeset: 33e826f0e742
Author:    sundar
Date:      2014-06-27 21:54 +0530
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/nashorn/rev/33e826f0e742

8046013: TypeError: Cannot apply "with" to non script object
Reviewed-by: lagergren, hannesw

! src/jdk/nashorn/internal/objects/NativeObject.java
! src/jdk/nashorn/internal/runtime/ScriptRuntime.java
! src/jdk/nashorn/internal/runtime/WithObject.java
+ test/script/basic/JDK-8046013.js
+ test/script/basic/JDK-8046013.js.EXPECTED
! test/src/jdk/nashorn/api/scripting/ScriptEngineTest.java

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

8048718: JSON.parse('{"0":0, "64":0}') throws ArrayindexOutOfBoundsException
Reviewed-by: lagergren, hannesw, attila

! src/jdk/nashorn/internal/runtime/ScriptObject.java
+ test/script/basic/JDK-8048718.js

Changeset: 6d8005c341ee
Author:    hannesw
Date:      2014-06-30 17:31 +0200
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/nashorn/rev/6d8005c341ee

8048586: String concatenation with optimistic types is slow
Reviewed-by: lagergren, attila

! src/jdk/nashorn/internal/codegen/LocalVariableTypesCalculator.java
! src/jdk/nashorn/internal/codegen/types/ObjectType.java
! src/jdk/nashorn/internal/codegen/types/Type.java
! src/jdk/nashorn/internal/runtime/JSType.java
+ test/script/basic/JDK-8048586.js

Changeset: 947cd4cdca37
Author:    sundar
Date:      2014-07-01 17:37 +0530
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/nashorn/rev/947cd4cdca37

8047359: large string size RangeError should be thrown rather than reporting negative length
Reviewed-by: hannesw, attila

! make/build.xml
! src/jdk/internal/dynalink/beans/OverloadedMethod.java
! src/jdk/internal/dynalink/support/CompositeTypeBasedGuardingDynamicLinker.java
! src/jdk/nashorn/internal/codegen/FunctionSignature.java
! src/jdk/nashorn/internal/ir/debug/NashornClassReader.java
! src/jdk/nashorn/internal/objects/NativeDate.java
! src/jdk/nashorn/internal/runtime/ConsString.java
! src/jdk/nashorn/internal/runtime/ScriptRuntime.java
! src/jdk/nashorn/internal/runtime/Source.java
! src/jdk/nashorn/internal/runtime/UserAccessorProperty.java
! src/jdk/nashorn/internal/runtime/arrays/ByteBufferArrayData.java
! src/jdk/nashorn/internal/runtime/linker/InvokeByName.java
! src/jdk/nashorn/internal/runtime/resources/Messages.properties
+ test/script/basic/JDK-8047359.js

Changeset: ada4855e44e2
Author:    katleman
Date:      2014-06-19 11:22 -0700
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/nashorn/rev/ada4855e44e2

Added tag jdk9-b19 for changeset 46e36a92e37c

! .hgtags

Changeset: d703c59c556f
Author:    lana
Date:      2014-06-20 10:14 -0700
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/nashorn/rev/d703c59c556f

Merge


Changeset: 174cf53bce4e
Author:    katleman
Date:      2014-06-26 12:51 -0700
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/nashorn/rev/174cf53bce4e

Added tag jdk9-b20 for changeset d703c59c556f

! .hgtags

Changeset: 08e791e084ae
Author:    lana
Date:      2014-07-01 14:27 -0700
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/nashorn/rev/08e791e084ae

Merge


Changeset: fd943e294985
Author:    sundar
Date:      2014-07-02 18:10 +0530
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/nashorn/rev/fd943e294985

8043232: Index selection of overloaded java new constructors
Reviewed-by: attila, hannesw, jlaskey

! src/jdk/internal/dynalink/beans/AbstractJavaLinker.java
! src/jdk/internal/dynalink/beans/BeansLinker.java
! src/jdk/internal/dynalink/beans/CallerSensitiveDynamicMethod.java
! src/jdk/internal/dynalink/beans/DynamicMethod.java
! src/jdk/internal/dynalink/beans/DynamicMethodLinker.java
! src/jdk/internal/dynalink/beans/OverloadedDynamicMethod.java
! src/jdk/internal/dynalink/beans/SimpleDynamicMethod.java
! src/jdk/internal/dynalink/beans/StaticClassLinker.java
! src/jdk/nashorn/internal/runtime/NativeJavaPackage.java
! src/jdk/nashorn/internal/runtime/linker/NashornBottomLinker.java
! src/jdk/nashorn/internal/runtime/resources/Messages.properties
+ test/script/basic/JDK-8043232.js
+ test/script/basic/JDK-8043232.js.EXPECTED

Changeset: f364357f0290
Author:    attila
Date:      2014-07-03 11:18 +0200
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/nashorn/rev/f364357f0290

8049222: JSType class exposes public mutable arrays
Reviewed-by: hannesw, sundar

! src/jdk/nashorn/internal/codegen/ObjectClassGenerator.java
! src/jdk/nashorn/internal/runtime/JSType.java
! src/jdk/nashorn/internal/runtime/UserAccessorProperty.java

Changeset: 0dd54eea1a25
Author:    attila
Date:      2014-07-03 11:18 +0200
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/nashorn/rev/0dd54eea1a25

8049223: RewriteException class exposes public mutable arrays
Reviewed-by: hannesw, sundar

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

Changeset: ad26ecacc9a3
Author:    attila
Date:      2014-07-03 11:18 +0200
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/nashorn/rev/ad26ecacc9a3

8049225: Source class exposes public mutable array
Reviewed-by: hannesw, sundar

! src/jdk/nashorn/internal/codegen/OptimisticTypesPersistence.java
! src/jdk/nashorn/internal/runtime/CodeStore.java
! src/jdk/nashorn/internal/runtime/Source.java

Changeset: 0e923ff689b9
Author:    attila
Date:      2014-07-03 16:15 +0200
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/nashorn/rev/0e923ff689b9

8047166: 'do with({}) break ; while(0);' crashes in CodeGenerator
Reviewed-by: hannesw, jlaskey

! src/jdk/nashorn/internal/codegen/CodeGenerator.java
+ test/script/basic/JDK-8047166.js

Changeset: 75b62ab45160
Author:    attila
Date:      2014-07-03 17:14 +0200
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/nashorn/rev/75b62ab45160

8047331: Assertion in CompiledFunction when running earley-boyer after Merge
Reviewed-by: hannesw, jlaskey

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

Changeset: 9687a3590924
Author:    sundar
Date:      2014-07-03 23:03 +0530
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/nashorn/rev/9687a3590924

8049242: Explicit constructor overload selection should work with StaticClass as well
Reviewed-by: jlaskey, attila

! src/jdk/internal/dynalink/beans/AbstractJavaLinker.java
! src/jdk/internal/dynalink/beans/StaticClassLinker.java
! test/script/basic/JDK-8043232.js
! test/script/basic/JDK-8043232.js.EXPECTED
+ test/script/basic/JDK-8049242.js
+ test/script/basic/JDK-8049242.js.EXPECTED

Changeset: 3ec6924f7b57
Author:    sundar
Date:      2014-07-04 15:56 +0530
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/nashorn/rev/3ec6924f7b57

8049086: Minor API convenience functions on "Java" object
Reviewed-by: attila, hannesw

! src/jdk/nashorn/api/scripting/ScriptUtils.java
! src/jdk/nashorn/internal/objects/NativeJava.java
! src/jdk/nashorn/internal/runtime/linker/BoundDynamicMethod.java
+ test/script/basic/JDK-8049086.js
+ test/script/basic/JDK-8049086.js.EXPECTED

Changeset: 94075abda229
Author:    sundar
Date:      2014-07-04 20:15 +0530
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/nashorn/rev/94075abda229

8044760: Avoid PropertyMap duplicate for global instances
Reviewed-by: attila, hannesw

! src/jdk/nashorn/internal/objects/Global.java
! src/jdk/nashorn/internal/objects/NativeDebug.java
! src/jdk/nashorn/internal/runtime/PropertyMap.java
! src/jdk/nashorn/internal/runtime/ScriptObject.java

Changeset: 40995fbd176b
Author:    sundar
Date:      2014-07-08 16:30 +0530
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/nashorn/rev/40995fbd176b

8049524: Global object initialization via javax.script API should be minimal
Reviewed-by: attila, hannesw

! src/jdk/nashorn/api/scripting/NashornException.java
! src/jdk/nashorn/api/scripting/NashornScriptEngine.java
- src/jdk/nashorn/api/scripting/resources/engine.js
! src/jdk/nashorn/internal/objects/Global.java
! src/jdk/nashorn/internal/objects/ScriptFunctionImpl.java
! src/jdk/nashorn/internal/runtime/Context.java
! src/jdk/nashorn/internal/runtime/ECMAErrors.java
! src/jdk/nashorn/internal/runtime/ScriptObject.java
! test/src/jdk/nashorn/internal/runtime/CodeStoreAndPathTest.java

Changeset: d714b9555e5d
Author:    attila
Date:      2014-07-08 13:13 +0200
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/nashorn/rev/d714b9555e5d

8047067: all eval arguments need to be copied in Lower
Reviewed-by: lagergren, sundar

! src/jdk/nashorn/internal/codegen/CodeGenerator.java
! src/jdk/nashorn/internal/codegen/Lower.java
! src/jdk/nashorn/internal/ir/CallNode.java
! src/jdk/nashorn/internal/objects/Global.java
! test/script/basic/JDK-8047057.js
+ test/script/basic/JDK-8047067.js

Changeset: 0d5282ab2aef
Author:    katleman
Date:      2014-07-03 11:37 -0700
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/nashorn/rev/0d5282ab2aef

Added tag jdk9-b21 for changeset 174cf53bce4e

! .hgtags

Changeset: a9d39bcfeb1b
Author:    lana
Date:      2014-07-09 10:41 -0700
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/nashorn/rev/a9d39bcfeb1b

Merge


Changeset: e80633fe720b
Author:    katleman
Date:      2014-07-10 12:13 -0700
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/nashorn/rev/e80633fe720b

Added tag jdk9-b22 for changeset a9d39bcfeb1b

! .hgtags

Changeset: aa3fda2d2967
Author:    lana
Date:      2014-07-10 12:41 -0700
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/nashorn/rev/aa3fda2d2967

Merge

- src/jdk/nashorn/api/scripting/resources/engine.js



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