hg: mobile/dev/nashorn: 66 new changesets

gary.adams at oracle.com gary.adams at oracle.com
Tue Jun 28 14:49:07 UTC 2016


Changeset: f64433f6ff69
Author:    lana
Date:      2016-03-15 13:48 -0700
URL:       http://hg.openjdk.java.net/mobile/dev/nashorn/rev/f64433f6ff69

Added tag jdk-9+110 for changeset 9937077e48f1

! .hgtags

Changeset: 133ea8746b37
Author:    alanb
Date:      2016-03-17 19:04 +0000
URL:       http://hg.openjdk.java.net/mobile/dev/nashorn/rev/133ea8746b37

8142968: Module System implementation
Summary: Initial integration of JEP 200, JEP 260, JEP 261, and JEP 282
Reviewed-by: mhaupt, hannesw
Contributed-by: alan.bateman at oracle.com, alex.buckley at oracle.com, jonathan.gibbons at oracle.com, karen.kinnear at oracle.com, mandy.chung at oracle.com, mark.reinhold at oracle.com, sundararajan.athijegannathan at oracle.com, erik.joelsson at oracle.com

! buildtools/nasgen/build.xml
! buildtools/nasgen/project.properties
! buildtools/nasgen/src/jdk/nashorn/internal/tools/nasgen/ClassGenerator.java
! buildtools/nasgen/src/jdk/nashorn/internal/tools/nasgen/MemberInfo.java
! buildtools/nasgen/src/jdk/nashorn/internal/tools/nasgen/MethodGenerator.java
! buildtools/nasgen/src/jdk/nashorn/internal/tools/nasgen/ScriptClassInfo.java
! buildtools/nasgen/src/jdk/nashorn/internal/tools/nasgen/ScriptClassInfoCollector.java
! buildtools/nasgen/src/jdk/nashorn/internal/tools/nasgen/ScriptClassInstrumentor.java
! buildtools/nasgen/src/jdk/nashorn/internal/tools/nasgen/StringConstants.java
+ buildtools/nasgen/src/jdk/nashorn/internal/tools/nasgen/Where.java
! make/BuildNashorn.gmk
! make/build-nasgen.xml
! make/build.xml
! make/nbproject/ide-targets.xml
! make/project.properties
! samples/test.js
! src/jdk.dynalink/share/classes/jdk/dynalink/DynamicLinkerFactory.java
! src/jdk.dynalink/share/classes/jdk/dynalink/beans/CallerSensitiveDynamicMethod.java
! src/jdk.dynalink/share/classes/jdk/dynalink/beans/CheckRestrictedPackage.java
! src/jdk.dynalink/share/classes/jdk/dynalink/linker/support/Lookup.java
+ src/jdk.dynalink/share/classes/module-info.java
+ src/jdk.scripting.nashorn.shell/share/classes/module-info.java
- src/jdk.scripting.nashorn/share/classes/META-INF/MANIFEST.MF
- src/jdk.scripting.nashorn/share/classes/META-INF/services/javax.script.ScriptEngineFactory
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/OptimisticTypesPersistence.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/Context.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/NashornLoader.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ScriptLoader.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/Source.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/StructureLoader.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/JavaAdapterBytecodeGenerator.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/JavaAdapterClassLoader.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/JavaAdapterServices.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/NashornStaticClassLinker.java
+ src/jdk.scripting.nashorn/share/classes/module-info.java
! test/TEST.ROOT
! test/script/currently-failing/JDK-8055034.js
! test/script/nosecurity/JDK-8044798.js
! test/script/nosecurity/JDK-8044851.js
! test/script/nosecurity/JDK-8067215.js
! test/script/nosecurity/JDK-8078049.js
! test/script/trusted/classfilter_extends.js.EXPECTED
! test/script/trusted/classfilter_mozilla_compat.js.EXPECTED
! test/script/trusted/event_queue.js
! test/script/trusted/optimistic_recompilation.js
! test/src/jdk/nashorn/internal/runtime/doubleconv/test/BignumTest.java
! test/src/jdk/nashorn/internal/runtime/doubleconv/test/DiyFpTest.java
! test/src/jdk/nashorn/internal/runtime/regexp/joni/test/JoniTest.java
! test/src/jdk/nashorn/internal/runtime/regexp/test/JdkRegExpTest.java
! test/src/jdk/nashorn/internal/runtime/test/ConsStringTest.java
! test/src/jdk/nashorn/internal/runtime/test/ContextTest.java
! test/src/jdk/nashorn/internal/runtime/test/ExceptionsNotSerializable.java
! test/src/jdk/nashorn/internal/runtime/test/JDK_8078414_Test.java
! test/src/jdk/nashorn/internal/runtime/test/JSTypeTest.java
! test/src/jdk/nashorn/internal/test/framework/ScriptRunnable.java

Changeset: 8e70b6afdbce
Author:    lana
Date:      2016-03-23 19:33 -0700
URL:       http://hg.openjdk.java.net/mobile/dev/nashorn/rev/8e70b6afdbce

Added tag jdk-9+111 for changeset 133ea8746b37

! .hgtags

Changeset: 15d52fdd9168
Author:    attila
Date:      2016-03-15 16:02 +0100
URL:       http://hg.openjdk.java.net/mobile/dev/nashorn/rev/15d52fdd9168

8150218: Autoconversion SAM adapters sometimes don't get privileges
Reviewed-by: mhaupt, sundar

! src/jdk.dynalink/share/classes/jdk/dynalink/CallSiteDescriptor.java
! src/jdk.dynalink/share/classes/jdk/dynalink/LinkerServicesImpl.java
+ src/jdk.dynalink/share/classes/jdk/dynalink/SecureLookupSupplier.java
! src/jdk.dynalink/share/classes/jdk/dynalink/beans/CallerSensitiveDynamicMethod.java
! src/jdk.dynalink/share/classes/jdk/dynalink/beans/ClassLinker.java
! src/jdk.dynalink/share/classes/jdk/dynalink/beans/LinkerServicesWithMissingMemberHandlerFactory.java
! src/jdk.dynalink/share/classes/jdk/dynalink/beans/OverloadedDynamicMethod.java
! src/jdk.dynalink/share/classes/jdk/dynalink/beans/OverloadedMethod.java
! src/jdk.dynalink/share/classes/jdk/dynalink/beans/SingleDynamicMethod.java
- src/jdk.dynalink/share/classes/jdk/dynalink/beans/messages.properties
! src/jdk.dynalink/share/classes/jdk/dynalink/linker/GuardingTypeConverterFactory.java
! src/jdk.dynalink/share/classes/jdk/dynalink/linker/LinkerServices.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/ScriptUtils.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/Global.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeJava.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/JSType.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ScriptFunction.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/NashornBeansLinker.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/NashornCallSiteDescriptor.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/NashornLinker.java
+ test/script/basic/JDK-8150218.js
+ test/src/jdk/dynalink/test/ArrayRunnableTest.java

Changeset: b9bf01ca3ef3
Author:    lana
Date:      2016-03-15 14:50 -0700
URL:       http://hg.openjdk.java.net/mobile/dev/nashorn/rev/b9bf01ca3ef3

Merge

- src/jdk.dynalink/share/classes/jdk/dynalink/beans/messages.properties

Changeset: 5f06791d7682
Author:    hannesw
Date:      2016-03-21 11:50 +0100
URL:       http://hg.openjdk.java.net/mobile/dev/nashorn/rev/5f06791d7682

8151809: ES6 Map/Set insertion with existing keys changes iteration order
Reviewed-by: lagergren, mhaupt

! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/LinkedMap.java
+ test/script/basic/es6/JDK-8151809.js

Changeset: 25b13597ea73
Author:    sdama
Date:      2016-03-21 12:38 +0100
URL:       http://hg.openjdk.java.net/mobile/dev/nashorn/rev/25b13597ea73

8147613: enable jjs tests on Windows
Reviewed-by: lagergren, mhaupt

! make/build.xml
! test/script/nosecurity/JDK-8144221.js
! test/script/nosecurity/JDK-8151291.js
+ test/script/nosecurity/JDK-util.js
! test/script/nosecurity/jjs-common.js
! test/script/nosecurity/jjs-option-cp.js
! test/script/nosecurity/jjs-option-define.js
! test/script/nosecurity/jjs-option-doe.js
! test/script/nosecurity/jjs-option-fv.js
! test/script/nosecurity/jjs-option-fx.js
! test/script/nosecurity/jjs-option-lang.js
! test/script/nosecurity/jjs-option-ot.js
! test/script/nosecurity/jjs-option-scripting.js
! test/script/nosecurity/jjs-option-strict.js
! test/script/nosecurity/jjs-option-version.js

Changeset: 50be58e74a21
Author:    hannesw
Date:      2016-03-22 14:23 +0100
URL:       http://hg.openjdk.java.net/mobile/dev/nashorn/rev/50be58e74a21

8151810: for-in iteration does not provide per-iteration scope
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/codegen/FieldObjectCreator.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/Lower.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/Block.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/ForNode.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/parser/Parser.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/SetMethodCreator.java
+ test/script/basic/es6/JDK-8151810.js

Changeset: 1421c56b3947
Author:    hannesw
Date:      2016-03-22 14:26 +0100
URL:       http://hg.openjdk.java.net/mobile/dev/nashorn/rev/1421c56b3947

8151811: Const declarations do not work in for..in loops
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/parser/Parser.java
+ test/script/basic/es6/JDK-8151811.js

Changeset: 703729e9c5dd
Author:    chegar
Date:      2016-03-22 10:43 +0000
URL:       http://hg.openjdk.java.net/mobile/dev/nashorn/rev/703729e9c5dd

Merge

! src/jdk.dynalink/share/classes/jdk/dynalink/beans/CallerSensitiveDynamicMethod.java
- src/jdk.scripting.nashorn/share/classes/META-INF/MANIFEST.MF
- src/jdk.scripting.nashorn/share/classes/META-INF/services/javax.script.ScriptEngineFactory

Changeset: e2e19327d66a
Author:    chegar
Date:      2016-03-22 10:52 +0000
URL:       http://hg.openjdk.java.net/mobile/dev/nashorn/rev/e2e19327d66a

Merge

! make/build.xml

Changeset: 975eff39b182
Author:    chegar
Date:      2016-03-22 15:26 +0000
URL:       http://hg.openjdk.java.net/mobile/dev/nashorn/rev/975eff39b182

Merge


Changeset: cdacfe806770
Author:    lana
Date:      2016-03-23 21:45 -0700
URL:       http://hg.openjdk.java.net/mobile/dev/nashorn/rev/cdacfe806770

Merge

- src/jdk.dynalink/share/classes/jdk/dynalink/beans/messages.properties

Changeset: 3ac5d360070e
Author:    hannesw
Date:      2016-03-24 11:43 +0100
URL:       http://hg.openjdk.java.net/mobile/dev/nashorn/rev/3ac5d360070e

8151700: Add support for ES6 for-of
Reviewed-by: attila, sundar

! 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/LocalVariableTypesCalculator.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/Lower.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/OptimisticTypesCalculator.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/ForNode.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/AbstractIterator.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/parser/Parser.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ScriptRuntime.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/resources/Messages.properties
! test/script/basic/es6.js
+ test/script/basic/es6/for-of.js

Changeset: c261f8440c55
Author:    sundar
Date:      2016-03-24 17:36 +0530
URL:       http://hg.openjdk.java.net/mobile/dev/nashorn/rev/c261f8440c55

8152646: disable ant octane target to avoid hudson build failure notifications
Reviewed-by: jlaskey

! make/build-benchmark.xml

Changeset: f54433fcebb1
Author:    lana
Date:      2016-03-31 01:13 -0700
URL:       http://hg.openjdk.java.net/mobile/dev/nashorn/rev/f54433fcebb1

Added tag jdk-9+112 for changeset c261f8440c55

! .hgtags

Changeset: 4fbf7a66d49b
Author:    sundar
Date:      2016-03-28 23:05 +0530
URL:       http://hg.openjdk.java.net/mobile/dev/nashorn/rev/4fbf7a66d49b

8152533: ant octane target fails with "Unable to load a script engine manager (org.apache.bsf.BSFManager or javax.script.ScriptEngineManager)"
Reviewed-by: jlaskey

+ buildtools/nashorntask/README
+ buildtools/nashorntask/build.xml
+ buildtools/nashorntask/project.properties
+ buildtools/nashorntask/src/jdk/nashorn/ant/NashornTask.java
! make/build-benchmark.xml
! make/project.properties

Changeset: c0d57cb54210
Author:    lana
Date:      2016-03-31 08:59 -0700
URL:       http://hg.openjdk.java.net/mobile/dev/nashorn/rev/c0d57cb54210

Merge


Changeset: a5d1990fd32d
Author:    mchung
Date:      2016-03-31 11:50 -0700
URL:       http://hg.openjdk.java.net/mobile/dev/nashorn/rev/a5d1990fd32d

8153211: Convert build tool to use the new -XaddExports syntax in bootcycle build
Reviewed-by: alanb

! make/BuildNashorn.gmk

Changeset: e015a1c14289
Author:    lana
Date:      2016-04-07 10:07 -0700
URL:       http://hg.openjdk.java.net/mobile/dev/nashorn/rev/e015a1c14289

Added tag jdk-9+113 for changeset a5d1990fd32d

! .hgtags

Changeset: 0c5b4ee6923f
Author:    jlaskey
Date:      2016-04-11 10:01 -0300
URL:       http://hg.openjdk.java.net/mobile/dev/nashorn/rev/0c5b4ee6923f

8075550: Error "JavaFX runtime not found" in nashorn when load predefines scripts to import JavaFX packages
Reviewed-by: kcr, sundar

! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/resources/fx/base.js
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/resources/fx/bootstrap.js
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/resources/fx/controls.js
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/resources/fx/fxml.js
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/resources/fx/graphics.js
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/resources/fx/media.js
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/resources/fx/swing.js
- src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/resources/fx/swt.js
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/resources/fx/web.js

Changeset: ba21793a0e48
Author:    mhaupt
Date:      2016-04-11 18:10 +0200
URL:       http://hg.openjdk.java.net/mobile/dev/nashorn/rev/ba21793a0e48

8137149: add tests for issues closed during Nashorn issue cleanup
Reviewed-by: jlaskey, sundar

+ test/script/basic/JDK-8026249.js
+ test/script/basic/JDK-8028429.js
+ test/script/basic/JDK-8028429.js.EXPECTED

Changeset: c5e780838dd5
Author:    lana
Date:      2016-04-14 09:09 -0700
URL:       http://hg.openjdk.java.net/mobile/dev/nashorn/rev/c5e780838dd5

Added tag jdk-9+114 for changeset ba21793a0e48

! .hgtags

Changeset: 295ac208a444
Author:    chegar
Date:      2016-04-15 16:19 +0100
URL:       http://hg.openjdk.java.net/mobile/dev/nashorn/rev/295ac208a444

8137058: Clear out all non-Critical APIs from sun.reflect
Reviewed-by: alanb, jfranck, mchung

! src/jdk.dynalink/share/classes/jdk/dynalink/beans/AbstractJavaLinker.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/JavaAdapterBytecodeGenerator.java

Changeset: 208388a5622d
Author:    lana
Date:      2016-04-21 12:57 -0700
URL:       http://hg.openjdk.java.net/mobile/dev/nashorn/rev/208388a5622d

Added tag jdk-9+115 for changeset 295ac208a444

! .hgtags

Changeset: 8edbdd01b004
Author:    lana
Date:      2016-04-28 08:26 -0700
URL:       http://hg.openjdk.java.net/mobile/dev/nashorn/rev/8edbdd01b004

Added tag jdk-9+116 for changeset 208388a5622d

! .hgtags

Changeset: bafd733be429
Author:    hannesw
Date:      2016-04-27 15:50 +0200
URL:       http://hg.openjdk.java.net/mobile/dev/nashorn/rev/bafd733be429

8134503: support ES6 parsing in Nashorn
Reviewed-by: jlaskey, sundar, mhaupt
Contributed-by: andreas.woess at oracle.com

! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/CodeGenerator.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/CompilationPhase.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/SplitIntoFunctions.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/WeighNodes.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/AccessNode.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/BaseNode.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/Block.java
+ src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/ClassNode.java
+ src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/ExpressionList.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/ForNode.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/FunctionNode.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/IdentNode.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/IndexNode.java
+ src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/Module.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/PropertyNode.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/visitor/NodeOperatorVisitor.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/visitor/NodeVisitor.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/parser/Parser.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/parser/ParserContext.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/parser/ParserContextFunctionNode.java
+ src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/parser/ParserContextModuleNode.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/parser/TokenType.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/Context.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/resources/Messages.properties
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/tools/Shell.java
+ test/script/basic/es6/parser-es6.js
- test/script/basic/yield.js
! test/script/error/NASHORN-154/function_mult_params_in_strict.js.EXPECTED
! test/script/nosecurity/parserapi.js.EXPECTED
! test/script/nosecurity/parserapi_strict.js.EXPECTED
! test/script/nosecurity/treeapi/array_literal.js.EXPECTED
! test/script/nosecurity/treeapi/objectLiteral.js.EXPECTED
! test/script/nosecurity/treeapi/property.js.EXPECTED
! test/script/nosecurity/treeapi/throw.js.EXPECTED
! test/script/nosecurity/treeapi/with.js.EXPECTED
! test/src/jdk/nashorn/internal/test/framework/ScriptRunnable.java

Changeset: fd2296436748
Author:    hannesw
Date:      2016-04-28 10:42 +0200
URL:       http://hg.openjdk.java.net/mobile/dev/nashorn/rev/fd2296436748

8155025: 0.001.toFixed(2) should return "0.00" not "0"
Reviewed-by: jlaskey, hannesw
Contributed-by: andreas.woess at oracle.com

! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/doubleconv/DtoaBuffer.java
+ test/script/basic/JDK-8155025.js
+ test/script/basic/JDK-8155025.js.EXPECTED

Changeset: 5267e9181161
Author:    lana
Date:      2016-04-28 09:38 -0700
URL:       http://hg.openjdk.java.net/mobile/dev/nashorn/rev/5267e9181161

Merge

- test/script/basic/yield.js

Changeset: b0c9a78aee9d
Author:    lana
Date:      2016-05-05 17:35 +0000
URL:       http://hg.openjdk.java.net/mobile/dev/nashorn/rev/b0c9a78aee9d

Added tag jdk-9+117 for changeset 5267e9181161

! .hgtags

Changeset: b7643d5bbe19
Author:    alanb
Date:      2016-05-03 09:11 +0100
URL:       http://hg.openjdk.java.net/mobile/dev/nashorn/rev/b7643d5bbe19

8154956: Module system implementation refresh (4/2016)
Reviewed-by: alanb, mchung, chegar, redestad
Contributed-by: alan.bateman at oracle.com, erik.joelsson at oracle.com

! make/BuildNashorn.gmk
! test/TEST.ROOT

Changeset: 2b82d45d1ab8
Author:    alanb
Date:      2016-05-03 10:39 +0100
URL:       http://hg.openjdk.java.net/mobile/dev/nashorn/rev/2b82d45d1ab8

Merge


Changeset: 51865518fa99
Author:    sundar
Date:      2016-05-03 21:27 +0530
URL:       http://hg.openjdk.java.net/mobile/dev/nashorn/rev/51865518fa99

8155944: ant build/test of nashorn is broken with the latest jdk9-dev build
Reviewed-by: jlaskey

! buildtools/nasgen/build.xml
! buildtools/nasgen/project.properties
! make/build-nasgen.xml
! make/build.xml
! make/project.properties

Changeset: 9ecc29462c48
Author:    hannesw
Date:      2016-05-04 13:39 +0200
URL:       http://hg.openjdk.java.net/mobile/dev/nashorn/rev/9ecc29462c48

8144711: (x) => x + 1 causes Assertion failure instead of SyntaxError
Reviewed-by: mhaupt, sundar

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

Changeset: b96917819cf6
Author:    darcy
Date:      2016-05-04 10:42 -0700
URL:       http://hg.openjdk.java.net/mobile/dev/nashorn/rev/b96917819cf6

8156040: Nashorn tests still failing after latest Jigsaw merge
Reviewed-by: sundar

! test/TEST.ROOT

Changeset: 4a9fca4fd993
Author:    lana
Date:      2016-05-05 19:10 +0000
URL:       http://hg.openjdk.java.net/mobile/dev/nashorn/rev/4a9fca4fd993

Merge


Changeset: 58cac5dc254d
Author:    sundar
Date:      2016-05-06 20:27 +0530
URL:       http://hg.openjdk.java.net/mobile/dev/nashorn/rev/58cac5dc254d

8150731: Nashorn JSObject linker should be exposed as a service provider
Reviewed-by: jlaskey, hannesw

+ src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/linker/NashornLinkerExporter.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/Bootstrap.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/JSObjectLinker.java
! src/jdk.scripting.nashorn/share/classes/module-info.java
! test/src/jdk/dynalink/test/DynamicLinkerFactoryTest.java

Changeset: f62f25cbd211
Author:    sundar
Date:      2016-05-07 20:13 +0530
URL:       http://hg.openjdk.java.net/mobile/dev/nashorn/rev/f62f25cbd211

8156489: jjs tab-completion crashes with stack overflow error
Reviewed-by: jlaskey

! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/tools/Shell.java

Changeset: 05679aac2f7e
Author:    sundar
Date:      2016-05-09 10:48 +0530
URL:       http://hg.openjdk.java.net/mobile/dev/nashorn/rev/05679aac2f7e

8156492: ClassFormatError thrown when arrow function is used
Reviewed-by: jlaskey

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

Changeset: 2fc3dc388f4d
Author:    lana
Date:      2016-05-12 15:15 +0000
URL:       http://hg.openjdk.java.net/mobile/dev/nashorn/rev/2fc3dc388f4d

Added tag jdk-9+118 for changeset 05679aac2f7e

! .hgtags

Changeset: fb8b5b560a57
Author:    sundar
Date:      2016-05-10 22:26 +0530
URL:       http://hg.openjdk.java.net/mobile/dev/nashorn/rev/fb8b5b560a57

8156665: ES6 for..of should work on Java Iterables and Java arrays
Reviewed-by: attila, hannesw

! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ScriptRuntime.java
+ test/script/basic/es6/JDK-8156665.js
+ test/script/basic/es6/JDK-8156665.js.EXPECTED

Changeset: 2470510268c7
Author:    sla
Date:      2016-05-11 11:05 +0200
URL:       http://hg.openjdk.java.net/mobile/dev/nashorn/rev/2470510268c7

8156658: Common way to run jtreg tests
Reviewed-by: erikj, dsamersoff

+ test/Makefile

Changeset: 21421eec73d6
Author:    attila
Date:      2016-05-11 19:24 +0200
URL:       http://hg.openjdk.java.net/mobile/dev/nashorn/rev/21421eec73d6

8156738: Use StackWalker for DynamicLinker.getLinkedCallSiteLocation
Reviewed-by: hannesw, sundar

! src/jdk.dynalink/share/classes/jdk/dynalink/DynamicLinker.java
+ test/src/jdk/dynalink/test/LinkedCallSiteLocationTest.java

Changeset: ad496474746e
Author:    sundar
Date:      2016-05-12 13:07 +0530
URL:       http://hg.openjdk.java.net/mobile/dev/nashorn/rev/ad496474746e

8156820: Nashorn nightly test failure after fix for 8156738
Reviewed-by: hannesw, mhaupt

! test/src/jdk/dynalink/test/LinkedCallSiteLocationTest.java

Changeset: 4b118e012ac4
Author:    lana
Date:      2016-05-12 18:46 +0000
URL:       http://hg.openjdk.java.net/mobile/dev/nashorn/rev/4b118e012ac4

Merge


Changeset: 809ef81502ed
Author:    hannesw
Date:      2016-05-13 14:30 +0200
URL:       http://hg.openjdk.java.net/mobile/dev/nashorn/rev/809ef81502ed

8156896: Script stack trace should display function names
Reviewed-by: attila, sundar

! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/NashornException.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/CompilerConstants.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/Namespace.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/parser/Parser.java
! test/script/basic/JDK-8025515.js
+ test/script/basic/JDK-8156896.js

Changeset: 621ad507bf9b
Author:    hannesw
Date:      2016-05-13 18:38 +0200
URL:       http://hg.openjdk.java.net/mobile/dev/nashorn/rev/621ad507bf9b

8156714: Parsing issue with automatic semicolon insertion
Reviewed-by: jlaskey, sundar

! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/parser/AbstractParser.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/parser/Parser.java
+ test/script/basic/JDK-8156714.js
! test/script/nosecurity/parserapi.js.EXPECTED

Changeset: eac5955924af
Author:    lana
Date:      2016-05-19 17:48 +0000
URL:       http://hg.openjdk.java.net/mobile/dev/nashorn/rev/eac5955924af

Added tag jdk-9+119 for changeset 621ad507bf9b

! .hgtags

Changeset: c24beef07d1b
Author:    sundar
Date:      2016-05-18 14:08 +0530
URL:       http://hg.openjdk.java.net/mobile/dev/nashorn/rev/c24beef07d1b

8157160: JSON.stringify does not work on ScriptObjectMirror objects
Reviewed-by: hannesw, mhaupt

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

Changeset: c187d75b77aa
Author:    mhaupt
Date:      2016-05-18 12:07 +0200
URL:       http://hg.openjdk.java.net/mobile/dev/nashorn/rev/c187d75b77aa

8157225: adopt method handle for array length getter in BeanLinker
Reviewed-by: hannesw, sundar

! src/jdk.dynalink/share/classes/jdk/dynalink/beans/BeanLinker.java

Changeset: bb6cf30cf892
Author:    sundar
Date:      2016-05-18 20:17 +0530
URL:       http://hg.openjdk.java.net/mobile/dev/nashorn/rev/bb6cf30cf892

8157241: Remove javac warnings of Nashorn "ant clean test"
Reviewed-by: mhaupt, hannesw

! 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/MethodGenerator.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/MethodEmitter.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/Global.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeArrayBuffer.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeFloat32Array.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeFloat64Array.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeInt16Array.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeInt32Array.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeInt8Array.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeUint16Array.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeUint32Array.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeUint8Array.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeUint8ClampedArray.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/parser/Parser.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/JavaAdapterBytecodeGenerator.java
! test/src/jdk/nashorn/api/scripting/test/ScriptEngineSecurityTest.java

Changeset: 7099f590cdec
Author:    mhaupt
Date:      2016-05-18 17:37 +0200
URL:       http://hg.openjdk.java.net/mobile/dev/nashorn/rev/7099f590cdec

8157250: BeanLinker assumes fixed array type linkage
Reviewed-by: attila, sundar

! src/jdk.dynalink/share/classes/jdk/dynalink/beans/BeanLinker.java
+ test/script/basic/JDK-8157250.js
+ test/script/basic/JDK-8157250.js.EXPECTED

Changeset: 9a6da438e0f6
Author:    hannesw
Date:      2016-05-18 18:44 +0200
URL:       http://hg.openjdk.java.net/mobile/dev/nashorn/rev/9a6da438e0f6

8066229: Fuzzing bug: Can't find scope depth
Reviewed-by: sundar

+ test/script/basic/JDK-8066229.js
- test/script/basic/JDK-8157250.js.EXPECTED

Changeset: be28ce2f1054
Author:    jlahoda
Date:      2016-05-18 21:00 +0200
URL:       http://hg.openjdk.java.net/mobile/dev/nashorn/rev/be28ce2f1054

8133549: Generalize jshell's EditingHistory
Summary: Using a generic EditingHistory in jjs
Reviewed-by: sundar

! src/jdk.scripting.nashorn.shell/share/classes/jdk/nashorn/tools/jjs/Console.java
! src/jdk.scripting.nashorn.shell/share/classes/jdk/nashorn/tools/jjs/HistoryObject.java
! src/jdk.scripting.nashorn.shell/share/classes/jdk/nashorn/tools/jjs/NashornCompleter.java

Changeset: b13b36ca5821
Author:    hannesw
Date:      2016-05-18 22:30 +0200
URL:       http://hg.openjdk.java.net/mobile/dev/nashorn/rev/b13b36ca5821

8157263: Octane svn repository no longer exists
Reviewed-by: sundar

! make/build.xml

Changeset: 8ad91dc85bfa
Author:    lana
Date:      2016-05-19 19:46 +0000
URL:       http://hg.openjdk.java.net/mobile/dev/nashorn/rev/8ad91dc85bfa

Merge


Changeset: 2d3d3a04ce6c
Author:    sundar
Date:      2016-05-20 13:20 +0530
URL:       http://hg.openjdk.java.net/mobile/dev/nashorn/rev/2d3d3a04ce6c

8157310: jdk.dynalink.linker.support.Lookup should have more checks before adding module read link
Reviewed-by: hannesw, attila

! src/jdk.dynalink/share/classes/jdk/dynalink/beans/CallerSensitiveDynamicMethod.java
! src/jdk.dynalink/share/classes/jdk/dynalink/linker/support/Lookup.java

Changeset: 141d0cf2c12e
Author:    mhaupt
Date:      2016-05-20 16:02 +0200
URL:       http://hg.openjdk.java.net/mobile/dev/nashorn/rev/141d0cf2c12e

8157444: exclude jjs shebang handling test from runs
Reviewed-by: sundar, hannesw, jlaskey

+ test/script/currently-failing/JDK-8144221.js
+ test/script/currently-failing/JDK-8144221.js.EXPECTED
- test/script/nosecurity/JDK-8144221.js
- test/script/nosecurity/JDK-8144221.js.EXPECTED

Changeset: 80a95fbd3e68
Author:    sla
Date:      2016-05-24 12:15 +0200
URL:       http://hg.openjdk.java.net/mobile/dev/nashorn/rev/80a95fbd3e68

8157605: Can't set both CONCURRENCY and EXTRA_JTREG_OPTIONS when running tests
Reviewed-by: tbell, erikj

! test/Makefile

Changeset: 7ab7fc00b147
Author:    jlahoda
Date:      2016-05-24 16:03 +0200
URL:       http://hg.openjdk.java.net/mobile/dev/nashorn/rev/7ab7fc00b147

8131017: jshell tool: pasting code with tabs invokes tab completion
Summary: Enabling copy-paste detection.
Reviewed-by: lagergren, sundar

! src/jdk.scripting.nashorn.shell/share/classes/jdk/nashorn/tools/jjs/Console.java

Changeset: a2c78af5909e
Author:    lana
Date:      2016-05-26 16:02 +0000
URL:       http://hg.openjdk.java.net/mobile/dev/nashorn/rev/a2c78af5909e

Added tag jdk-9+120 for changeset 7ab7fc00b147

! .hgtags

Changeset: 93c5020dd976
Author:    sundar
Date:      2016-05-25 11:03 +0530
URL:       http://hg.openjdk.java.net/mobile/dev/nashorn/rev/93c5020dd976

8157789: Nashorn sample/test.js should not use undocumented System property
Reviewed-by: mchung

! samples/test.js

Changeset: 9c62b456f075
Author:    sundar
Date:      2016-05-25 15:14 +0530
URL:       http://hg.openjdk.java.net/mobile/dev/nashorn/rev/9c62b456f075

8157680: Callback parameter of any JS builtin implementation should accept any Callable
Reviewed-by: hannesw, mhaupt

! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeArray.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeJSON.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeRegExp.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeString.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeWeakMap.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeWeakSet.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/JSONFunctions.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/Bootstrap.java
+ test/script/basic/JDK-8157680.js
+ test/script/basic/JDK-8157680.js.EXPECTED

Changeset: 59d31c4e3f77
Author:    sundar
Date:      2016-05-25 19:25 +0530
URL:       http://hg.openjdk.java.net/mobile/dev/nashorn/rev/59d31c4e3f77

8157819: TypeError when a java.util.Comparator object is invoked as a function
Reviewed-by: mhaupt, forax, hannesw

! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/NashornBeansLinker.java
+ test/script/basic/JDK-8157819.js

Changeset: 5992041b0794
Author:    lana
Date:      2016-05-26 17:19 +0000
URL:       http://hg.openjdk.java.net/mobile/dev/nashorn/rev/5992041b0794

Merge


Changeset: e9e0f65bc003
Author:    lana
Date:      2016-06-02 20:33 +0000
URL:       http://hg.openjdk.java.net/mobile/dev/nashorn/rev/e9e0f65bc003

Added tag jdk-9+121 for changeset 5992041b0794

! .hgtags



More information about the mobile-dev mailing list