hg: hsx/hotspot-gc/nashorn: 29 new changesets

john.coomes at oracle.com john.coomes at oracle.com
Thu Aug 8 13:13:17 PDT 2013


Changeset: e1d19f9fd5a9
Author:    jlaskey
Date:      2013-07-16 17:40 -0300
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/nashorn/rev/e1d19f9fd5a9

8017585: Exclude two failing tests from Nashorn CC run
Reviewed-by: jlaskey, sundar, attila
Contributed-by: konstantin.shefov at oracle.com

+ exclude/exclude_list.txt
+ exclude/exclude_list_cc.txt
! make/build.xml

Changeset: 71cfe4e66bcb
Author:    jlaskey
Date:      2013-07-17 11:53 -0300
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/nashorn/rev/71cfe4e66bcb

8020596: Initialization of white space strings in scanner should be done with \u strings
Reviewed-by: attila, hannesw
Contributed-by: james.laskey at oracle.com

! src/jdk/nashorn/internal/parser/Lexer.java

Changeset: 3d6f6b8d8bc8
Author:    hannesw
Date:      2013-07-17 18:20 +0200
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/nashorn/rev/3d6f6b8d8bc8

8020356: ClassCastException Undefined->Scope on spiltter class generated for a large switch statement
Reviewed-by: jlaskey, attila

! src/jdk/nashorn/internal/codegen/CodeGenerator.java
! src/jdk/nashorn/internal/codegen/Label.java
! src/jdk/nashorn/internal/codegen/Splitter.java
! src/jdk/nashorn/internal/codegen/WeighNodes.java
! src/jdk/nashorn/internal/ir/Block.java
! src/jdk/nashorn/internal/ir/FunctionNode.java
! src/jdk/nashorn/internal/ir/LexicalContext.java
+ test/script/basic/JDK-8020356.js
+ test/script/basic/JDK-8020356.js.EXPECTED

Changeset: e3307f1a30e5
Author:    sundar
Date:      2013-07-18 18:08 +0530
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/nashorn/rev/e3307f1a30e5

8020731: Revisit checkPermission calls in Context class
Reviewed-by: attila, hannesw

! src/jdk/nashorn/api/scripting/NashornScriptEngine.java
! src/jdk/nashorn/api/scripting/ScriptObjectMirror.java
! src/jdk/nashorn/internal/objects/Global.java
! src/jdk/nashorn/internal/runtime/Context.java
! src/jdk/nashorn/internal/runtime/NativeJavaPackage.java
! src/jdk/nashorn/internal/runtime/ScriptRuntime.java
! src/jdk/nashorn/internal/runtime/WithObject.java
! src/jdk/nashorn/internal/runtime/linker/JavaAdapterBytecodeGenerator.java
! src/jdk/nashorn/internal/runtime/linker/JavaAdapterClassLoader.java
- src/jdk/nashorn/internal/runtime/linker/JavaAdapterGeneratorBase.java

Changeset: 624f8be5c3fe
Author:    attila
Date:      2013-07-18 16:22 +0200
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/nashorn/rev/624f8be5c3fe

8020809: Java adapter should not allow overriding of caller sensitive methods
Reviewed-by: jlaskey, sundar

! src/jdk/nashorn/internal/runtime/linker/JavaAdapterBytecodeGenerator.java
+ test/script/trusted/JDK-8020809.js
+ test/script/trusted/JDK-8020809.js.EXPECTED

Changeset: 4b06441b7624
Author:    attila
Date:      2013-07-18 16:47 +0200
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/nashorn/rev/4b06441b7624

8020820: Limit access to static members of reflective classes
Reviewed-by: jlaskey, sundar

! make/build.xml
! src/jdk/nashorn/internal/runtime/linker/NashornStaticClassLinker.java
! test/script/basic/JDK-8010946-2.js
! test/script/basic/JDK-8010946-2.js.EXPECTED
! test/script/basic/NASHORN-473.js
+ test/script/basic/classloader.js
+ test/script/basic/classloader.js.EXPECTED
! test/script/basic/javaarray.js
! test/script/sandbox/classloader.js.EXPECTED
! test/script/sandbox/reflection.js
! test/src/jdk/nashorn/api/javaaccess/BooleanAccessTest.java
! test/src/jdk/nashorn/api/javaaccess/NumberAccessTest.java
! test/src/jdk/nashorn/api/javaaccess/ObjectAccessTest.java
! test/src/jdk/nashorn/api/javaaccess/StringAccessTest.java

Changeset: 0cfa27ed82fe
Author:    sundar
Date:      2013-07-23 18:17 +0530
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/nashorn/rev/0cfa27ed82fe

8021122: Not all callables are handled for toString and other function valued properties
Reviewed-by: attila, hannesw, jlaskey

! src/jdk/nashorn/internal/ir/debug/ASTWriter.java
! src/jdk/nashorn/internal/objects/Global.java
! src/jdk/nashorn/internal/objects/NativeArray.java
! src/jdk/nashorn/internal/objects/NativeDate.java
! src/jdk/nashorn/internal/objects/NativeJSON.java
! src/jdk/nashorn/internal/objects/NativeObject.java
! src/jdk/nashorn/internal/runtime/Context.java
! src/jdk/nashorn/internal/runtime/ListAdapter.java
! src/jdk/nashorn/internal/runtime/ScriptRuntime.java
! src/jdk/nashorn/internal/runtime/arrays/IteratorAction.java
! src/jdk/nashorn/internal/runtime/linker/Bootstrap.java
! src/jdk/nashorn/internal/runtime/linker/JavaAdapterBytecodeGenerator.java
! src/jdk/nashorn/internal/runtime/linker/NashornBottomLinker.java
+ test/script/basic/JDK-8021122.js
+ test/script/basic/JDK-8021122.js.EXPECTED

Changeset: e86b297d26aa
Author:    jlaskey
Date:      2013-07-23 12:00 -0300
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/nashorn/rev/e86b297d26aa

8021130: Comments need to be tokens
Reviewed-by: lagergren, attila
Contributed-by: james.laskey at oracle.com

! src/jdk/nashorn/internal/parser/AbstractParser.java
! src/jdk/nashorn/internal/parser/Lexer.java
! src/jdk/nashorn/internal/parser/TokenType.java

Changeset: ccbea9172aa5
Author:    sundar
Date:      2013-07-23 21:45 +0530
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/nashorn/rev/ccbea9172aa5

8021164: REGRESSION: test262 failures after JDK-8021122
Reviewed-by: jlaskey, hannesw

! src/jdk/nashorn/internal/runtime/linker/Bootstrap.java

Changeset: 4cb1780bc385
Author:    sundar
Date:      2013-07-23 21:51 +0530
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/nashorn/rev/4cb1780bc385

Merge

- src/jdk/nashorn/internal/runtime/linker/JavaAdapterGeneratorBase.java

Changeset: 8b97fe2b7c98
Author:    attila
Date:      2013-07-23 18:28 +0200
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/nashorn/rev/8b97fe2b7c98

8021129: Use public lookup again
Reviewed-by: lagergren, sundar

! src/jdk/internal/dynalink/beans/AbstractJavaLinker.java
! src/jdk/internal/dynalink/beans/FacetIntrospector.java
- src/jdk/internal/dynalink/beans/SafeUnreflector.java
- src/jdk/internal/dynalink/beans/SafeUnreflectorImpl.java
- src/jdk/internal/dynalink/beans/SandboxClassLoader.java
- src/jdk/internal/dynalink/beans/sandbox/Unreflector.java
+ test/script/trusted/JDK-8021129.js
+ test/script/trusted/JDK-8021129.js.EXPECTED
+ test/src/jdk/nashorn/internal/test/models/InternalRunnable.java
+ test/src/jdk/nashorn/internal/test/models/RestrictedRunnable.java
+ test/src/jdk/nashorn/test/models/InternalRunnableSuperclass.java

Changeset: a58a07a00122
Author:    attila
Date:      2013-07-24 11:13 +0200
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/nashorn/rev/a58a07a00122

8021189: Prevent access to constructors of restricted classes
Reviewed-by: lagergren, sundar

! src/jdk/internal/dynalink/beans/AbstractJavaLinker.java
! src/jdk/internal/dynalink/beans/FacetIntrospector.java
! src/jdk/internal/dynalink/beans/StaticClassLinker.java
! test/script/trusted/JDK-8006529.js
! test/script/trusted/JDK-8021129.js
+ test/script/trusted/JDK-8021189.js
+ test/script/trusted/JDK-8021189.js.EXPECTED

Changeset: e4efb3ce97b2
Author:    attila
Date:      2013-07-24 12:48 +0200
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/nashorn/rev/e4efb3ce97b2

8021246: Fix regression for 8021189
Reviewed-by: lagergren, sundar

! src/jdk/nashorn/internal/runtime/linker/JavaAdapterBytecodeGenerator.java
! test/script/trusted/JDK-8006529.js

Changeset: 2a25917777f7
Author:    hannesw
Date:      2013-07-24 13:16 +0200
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/nashorn/rev/2a25917777f7

8020718: RETURN symbol has wrong type in split functions
Reviewed-by: lagergren, attila

! 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/SplitMethodEmitter.java
! src/jdk/nashorn/internal/ir/Block.java
! src/jdk/nashorn/internal/ir/FunctionNode.java
! src/jdk/nashorn/internal/ir/IdentNode.java
! src/jdk/nashorn/internal/ir/Symbol.java

Changeset: 573cc6eb66ae
Author:    jlaskey
Date:      2013-07-24 08:25 -0300
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/nashorn/rev/573cc6eb66ae

Merge

- src/jdk/internal/dynalink/beans/SafeUnreflector.java
- src/jdk/internal/dynalink/beans/SafeUnreflectorImpl.java
- src/jdk/internal/dynalink/beans/SandboxClassLoader.java
- src/jdk/internal/dynalink/beans/sandbox/Unreflector.java

Changeset: dc54df348a58
Author:    sundar
Date:      2013-07-24 20:28 +0530
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/nashorn/rev/dc54df348a58

8021262: Make nashorn access checks consistent with underlying dynalink
Reviewed-by: jlaskey, lagergren, attila

! make/code_coverage.xml
! src/jdk/nashorn/internal/codegen/SpillObjectCreator.java
! src/jdk/nashorn/internal/objects/NativeDate.java
! src/jdk/nashorn/internal/objects/NativeObject.java
! src/jdk/nashorn/internal/runtime/Context.java
! src/jdk/nashorn/internal/runtime/NashornLoader.java
! src/jdk/nashorn/internal/runtime/PropertyMap.java
! src/jdk/nashorn/internal/runtime/ScriptObject.java
! src/jdk/nashorn/internal/runtime/ScriptRuntime.java
! src/jdk/nashorn/internal/runtime/Source.java
! src/jdk/nashorn/internal/runtime/linker/JavaAdapterBytecodeGenerator.java
! src/jdk/nashorn/internal/runtime/linker/JavaAdapterClassLoader.java
! src/jdk/nashorn/internal/runtime/linker/JavaAdapterFactory.java
! src/jdk/nashorn/internal/runtime/linker/LinkerCallSite.java
! src/jdk/nashorn/internal/runtime/linker/NashornBottomLinker.java
! src/jdk/nashorn/internal/runtime/linker/NashornStaticClassLinker.java
! src/jdk/nashorn/internal/runtime/linker/ReflectionCheckLinker.java
! test/script/sandbox/nashorninternals.js
! test/script/trusted/JDK-8006529.js
! test/script/trusted/JDK-8021129.js
! test/script/trusted/JDK-8021189.js
! test/script/trusted/JDK-8021189.js.EXPECTED
! test/src/jdk/nashorn/test/models/InternalRunnableSuperclass.java

Changeset: d203d68f6624
Author:    sundar
Date:      2013-07-24 21:01 +0530
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/nashorn/rev/d203d68f6624

8021294: --verify-code option results in AnalyzerException
Reviewed-by: hannesw, jlaskey

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

Changeset: 5c035c4ccc61
Author:    sundar
Date:      2013-07-25 14:05 +0530
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/nashorn/rev/5c035c4ccc61

8021252: invokeMethod throws NoSuchMethodException when script object is from different script context
Reviewed-by: lagergren, hannesw

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

Changeset: f74faac51bfb
Author:    hannesw
Date:      2013-07-25 11:56 +0200
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/nashorn/rev/f74faac51bfb

8021244: Inconsistent stackmap with splitter threshold set very low
Reviewed-by: sundar, lagergren

! src/jdk/nashorn/internal/codegen/Lower.java
! src/jdk/nashorn/internal/ir/Block.java

Changeset: f22ca0f9b6ee
Author:    sundar
Date:      2013-07-25 20:10 +0530
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/nashorn/rev/f22ca0f9b6ee

8021361: ClassCastException:.ScriptObjectMirror -> ScriptObject when getInterface called on object from different ScriptContext
Reviewed-by: jlaskey, attila

! src/jdk/nashorn/api/scripting/NashornScriptEngine.java
! src/jdk/nashorn/api/scripting/ScriptObjectMirror.java
+ src/jdk/nashorn/api/scripting/resources/Messages.properties
! src/jdk/nashorn/internal/runtime/ScriptObject.java
! test/src/jdk/nashorn/api/scripting/ScriptEngineTest.java

Changeset: d55856f82352
Author:    lana
Date:      2013-07-26 14:08 -0700
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/nashorn/rev/d55856f82352

Merge


Changeset: f6588f168d79
Author:    hannesw
Date:      2013-07-26 13:50 +0200
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/nashorn/rev/f6588f168d79

8020719: Run tests with reduced splitter threshold
Reviewed-by: lagergren, sundar, jlaskey

! make/build.xml
! make/project.properties
+ test/script/basic/NASHORN-592-dual.js
+ test/script/basic/NASHORN-592-dual.js.EXPECTED
+ test/script/basic/compile-octane-splitter.js
+ test/script/basic/compile-octane-splitter.js.EXPECTED
+ test/script/basic/splitter.js
+ test/script/basic/splitter.js.EXPECTED
- test/script/representations/NASHORN-592a.js
! test/src/jdk/nashorn/internal/test/framework/AbstractScriptRunnable.java
! test/src/jdk/nashorn/internal/test/framework/ScriptRunnable.java
! test/src/jdk/nashorn/internal/test/framework/TestConfig.java
! test/src/jdk/nashorn/internal/test/framework/TestFinder.java

Changeset: 17a947418e65
Author:    jlaskey
Date:      2013-07-26 09:17 -0300
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/nashorn/rev/17a947418e65

8021321: Two runsunspider tests fail after updating sunspider to 1.0
Reviewed-by: jlaskey, sundar
Contributed-by: michael.horowitz at oracle.com

! test/script/basic/runsunspider.js

Changeset: fbd21b00197b
Author:    sundar
Date:      2013-07-26 20:10 +0530
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/nashorn/rev/fbd21b00197b

8021571: @fork tests should use VM options passed from project.properties
Reviewed-by: lagergren, hannesw, jlaskey

! buildtools/nasgen/src/jdk/nashorn/internal/tools/nasgen/ClassGenerator.java
! buildtools/nasgen/src/jdk/nashorn/internal/tools/nasgen/ConstructorGenerator.java
! buildtools/nasgen/src/jdk/nashorn/internal/tools/nasgen/PrototypeGenerator.java
! make/project.properties
! src/jdk/nashorn/internal/objects/BoundScriptFunctionImpl.java
! src/jdk/nashorn/internal/objects/PrototypeObject.java
! src/jdk/nashorn/internal/runtime/AccessorProperty.java
! src/jdk/nashorn/internal/runtime/FinalScriptFunctionData.java
! src/jdk/nashorn/internal/runtime/ListAdapter.java
! src/jdk/nashorn/internal/runtime/Property.java
! src/jdk/nashorn/internal/runtime/PropertyListenerManager.java
! src/jdk/nashorn/internal/runtime/ScriptFunctionData.java
! src/jdk/nashorn/internal/runtime/UserAccessorProperty.java
! src/jdk/nashorn/internal/runtime/WithObject.java
! src/jdk/nashorn/internal/runtime/linker/AdaptationException.java
! src/jdk/nashorn/internal/runtime/linker/AdaptationResult.java
! src/jdk/nashorn/internal/runtime/linker/InvokeByName.java
! src/jdk/nashorn/internal/runtime/linker/JavaAdapterBytecodeGenerator.java
! src/jdk/nashorn/internal/runtime/linker/JavaAdapterServices.java
! src/jdk/nashorn/internal/runtime/linker/JavaArgumentConverters.java
! src/jdk/nashorn/internal/runtime/linker/NashornCallSiteDescriptor.java
! src/jdk/nashorn/internal/runtime/linker/NashornLinker.java
! src/jdk/nashorn/internal/runtime/linker/PrimitiveLookup.java
! src/jdk/nashorn/internal/runtime/options/KeyValueOption.java
! src/jdk/nashorn/internal/runtime/options/OptionTemplate.java
! test/src/jdk/nashorn/internal/test/framework/AbstractScriptRunnable.java
! test/src/jdk/nashorn/internal/test/framework/ScriptRunnable.java
! test/src/jdk/nashorn/internal/test/framework/TestConfig.java

Changeset: 5fc6b7f11289
Author:    sundar
Date:      2013-07-29 10:28 +0530
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/nashorn/rev/5fc6b7f11289

Merge

- test/script/representations/NASHORN-592a.js

Changeset: 0532397d0732
Author:    sundar
Date:      2013-07-29 18:07 +0530
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/nashorn/rev/0532397d0732

8012792: print function defined in engine.js does not handle multiple arguments
Reviewed-by: hannesw

! src/jdk/nashorn/api/scripting/resources/engine.js
! test/src/jdk/nashorn/api/scripting/ScriptEngineTest.java

Changeset: 7d5d24bdb671
Author:    sundar
Date:      2013-07-29 21:56 +0530
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/nashorn/rev/7d5d24bdb671

Merge


Changeset: e966ff0a3ffe
Author:    lana
Date:      2013-08-06 10:02 -0700
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/nashorn/rev/e966ff0a3ffe

Merge


Changeset: 795cff5c1b5c
Author:    cl
Date:      2013-08-08 10:10 -0700
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/nashorn/rev/795cff5c1b5c

Added tag jdk8-b102 for changeset e966ff0a3ffe

! .hgtags



More information about the hotspot-gc-dev mailing list