/hg/icedtea8-forest/nashorn: 41 new changesets

andrew at icedtea.classpath.org andrew at icedtea.classpath.org
Mon Aug 8 14:55:26 UTC 2016


changeset 22e94f2a0e4f in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=22e94f2a0e4f
author: asaha
date: Mon Jan 25 15:49:28 2016 -0800

	Added tag jdk8u82-b00 for changeset 120c1b8b4581


changeset 661ce0d371de in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=661ce0d371de
author: hannesw
date: Thu Jan 28 13:55:36 2016 +0100

	8146274: Thread spinning on WeakHashMap.getEntry() with concurrent use of nashorn
	Reviewed-by: sundar, mhaupt


changeset 18477de7c28f in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=18477de7c28f
author: sundar
date: Thu Feb 04 17:42:46 2016 +0530

	8148926: Call site profiling fails on braces-wrapped anonymous function
	Reviewed-by: jlaskey, hannesw


changeset 1e1f65348706 in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=1e1f65348706
author: robm
date: Fri Feb 05 13:54:03 2016 +0000

	Merge


changeset 1d40f927417a in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=1d40f927417a
author: asaha
date: Mon Feb 01 16:41:18 2016 -0800

	Merge


changeset 8ca52d10fc0d in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=8ca52d10fc0d
author: asaha
date: Fri Feb 05 09:35:01 2016 -0800

	Merge


changeset 29603fdf59a8 in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=29603fdf59a8
author: mhaupt
date: Tue Feb 09 10:00:02 2016 +0100

	8149334: JSON.parse(JSON.stringify([])).push(10) creates an array containing two elements
	Reviewed-by: jlaskey, sundar


changeset 6ff7a094ba60 in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=6ff7a094ba60
author: robm
date: Fri Feb 12 19:11:54 2016 +0000

	Merge


changeset a136c901f3f5 in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=a136c901f3f5
author: mhaupt
date: Mon Feb 15 14:36:18 2016 +0100

	8149744: fix testng.jar delivery in Nashorn build.xml
	Reviewed-by: hannesw, sundar


changeset fe6ef89d9c04 in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=fe6ef89d9c04
author: sundar
date: Thu Feb 25 18:30:37 2016 +0530

	8148379: jdk.nashorn.api.scripting spec. adjustments, clarifications
	Reviewed-by: hannesw


changeset c89038dccabd in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=c89038dccabd
author: asaha
date: Wed Mar 23 12:22:00 2016 -0700

	Added tag jdk8u102-b00 for changeset 120c1b8b4581


changeset f245607906be in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=f245607906be
author: asaha
date: Wed Mar 23 15:07:51 2016 -0700

	Merge


changeset 65163013131e in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=65163013131e
author: asaha
date: Tue Mar 22 12:25:38 2016 -0700

	Merge


changeset 79dcbdb92a8c in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=79dcbdb92a8c
author: asaha
date: Wed Mar 23 15:21:20 2016 -0700

	Merge


changeset 17416ae62bd7 in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=17416ae62bd7
author: asaha
date: Tue Mar 29 13:28:48 2016 -0700

	Added tag jdk8u102-b01 for changeset 79dcbdb92a8c


changeset a76dfd536352 in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=a76dfd536352
author: asaha
date: Mon Apr 11 13:51:26 2016 -0700

	Added tag jdk8u102-b02 for changeset 17416ae62bd7


changeset 9f613c7a9f8e in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=9f613c7a9f8e
author: asaha
date: Tue Apr 05 10:40:32 2016 -0700

	Merge


changeset 75728277aeee in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=75728277aeee
author: asaha
date: Mon Apr 11 15:01:39 2016 -0700

	Merge


changeset 8ebcaf17bc74 in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=8ebcaf17bc74
author: asaha
date: Mon Apr 18 15:33:41 2016 -0700

	Added tag jdk8u102-b03 for changeset 75728277aeee


changeset 1bf96637e4bb in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=1bf96637e4bb
author: asaha
date: Mon Apr 25 09:34:16 2016 -0700

	Added tag jdk8u102-b04 for changeset 8ebcaf17bc74


changeset 676a870491e5 in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=676a870491e5
author: asaha
date: Mon Apr 25 11:53:24 2016 -0700

	Merge


changeset 1fcce949f957 in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=1fcce949f957
author: asaha
date: Wed Apr 27 15:34:10 2016 -0700

	Added tag jdk8u102-b05 for changeset 676a870491e5


changeset 114e7557d33c in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=114e7557d33c
author: asaha
date: Mon May 02 15:02:00 2016 -0700

	Merge


changeset f7b1b1ad4a96 in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=f7b1b1ad4a96
author: asaha
date: Mon May 02 15:06:03 2016 -0700

	Added tag jdk8u102-b06 for changeset 114e7557d33c


changeset 13a10967cff1 in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=13a10967cff1
author: asaha
date: Mon May 09 11:49:49 2016 -0700

	Merge


changeset 2c64be654af4 in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=2c64be654af4
author: asaha
date: Mon May 09 11:54:59 2016 -0700

	Added tag jdk8u102-b07 for changeset 13a10967cff1


changeset 31c898437a15 in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=31c898437a15
author: asaha
date: Mon May 16 10:50:46 2016 -0700

	Merge


changeset 272272e0626a in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=272272e0626a
author: asaha
date: Mon May 16 10:57:04 2016 -0700

	Added tag jdk8u102-b08 for changeset 31c898437a15


changeset e4f74a337545 in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=e4f74a337545
author: asaha
date: Mon May 23 20:51:28 2016 -0700

	Merge


changeset 3b2b180e2c47 in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=3b2b180e2c47
author: asaha
date: Mon May 23 20:55:18 2016 -0700

	Added tag jdk8u102-b09 for changeset e4f74a337545


changeset 3b84415442d7 in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=3b84415442d7
author: asaha
date: Tue May 31 10:26:01 2016 -0700

	Merge


changeset 085240c71a28 in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=085240c71a28
author: asaha
date: Tue May 31 10:30:30 2016 -0700

	Added tag jdk8u102-b10 for changeset 3b84415442d7


changeset 7bd6f4f266f6 in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=7bd6f4f266f6
author: asaha
date: Mon Jun 06 13:17:28 2016 -0700

	Merge


changeset ff14b7c67177 in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=ff14b7c67177
author: asaha
date: Mon Jun 06 13:20:56 2016 -0700

	Added tag jdk8u102-b11 for changeset 7bd6f4f266f6


changeset e3db6994bbbd in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=e3db6994bbbd
author: asaha
date: Mon Jun 13 13:21:10 2016 -0700

	Merge


changeset e0d6c13b7d02 in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=e0d6c13b7d02
author: asaha
date: Mon Jun 13 13:24:18 2016 -0700

	Added tag jdk8u102-b12 for changeset e3db6994bbbd


changeset aeaa240dee79 in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=aeaa240dee79
author: asaha
date: Tue Jun 21 18:21:42 2016 -0700

	Added tag jdk8u101-b13 for changeset 44e4e6cbe15b


changeset a010893ca6ee in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=a010893ca6ee
author: asaha
date: Tue Jun 21 18:47:46 2016 -0700

	Merge


changeset 0948e61a3722 in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=0948e61a3722
author: asaha
date: Tue Jun 21 18:50:26 2016 -0700

	Added tag jdk8u102-b13 for changeset a010893ca6ee


changeset 0b84d2cb4e3a in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=0b84d2cb4e3a
author: andrew
date: Fri Aug 05 05:27:29 2016 +0100

	Merge jdk8u102-b14


changeset 83a084be209b in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=83a084be209b
author: andrew
date: Mon Aug 08 15:51:34 2016 +0100

	Added tag icedtea-3.2.0pre02 for changeset 0b84d2cb4e3a


diffstat:

 .hgignore                                                     |    2 +-
 .hgtags                                                       |  107 ++++++++++
 .jcheck/conf                                                  |    2 -
 make/build.xml                                                |   60 ++++-
 make/project.properties                                       |   25 ++-
 samples/lines.js                                              |   41 +++
 src/jdk/nashorn/api/scripting/AbstractJSObject.java           |  100 ++------
 src/jdk/nashorn/api/scripting/JSObject.java                   |    7 +-
 src/jdk/nashorn/api/scripting/NashornException.java           |    8 +-
 src/jdk/nashorn/api/scripting/NashornScriptEngineFactory.java |   10 +-
 src/jdk/nashorn/api/scripting/ScriptObjectMirror.java         |   27 +-
 src/jdk/nashorn/api/scripting/ScriptUtils.java                |   27 ++-
 src/jdk/nashorn/internal/runtime/PropertyListeners.java       |   18 +-
 src/jdk/nashorn/internal/runtime/arrays/ArrayData.java        |    7 +-
 src/jdk/nashorn/internal/runtime/linker/LinkerCallSite.java   |   14 +-
 test/script/basic/JDK-8026367.js                              |    2 +
 test/script/basic/JDK-8134488.js                              |    2 +-
 test/script/basic/JDK-8134490.js                              |    2 +-
 test/script/basic/JDK-8134939.js                              |    2 +-
 test/script/nosecurity/JDK-8148926.js                         |   34 +++
 test/script/nosecurity/JDK-8149334.js                         |   41 +++
 test/script/nosecurity/JDK-8149334.js.EXPECTED                |    6 +
 22 files changed, 409 insertions(+), 135 deletions(-)

diffs (truncated from 1167 to 500 lines):

diff -r 120c1b8b4581 -r 83a084be209b .hgignore
--- a/.hgignore	Mon Jan 25 13:24:03 2016 -0800
+++ b/.hgignore	Mon Aug 08 15:51:34 2016 +0100
@@ -22,6 +22,6 @@
 CC/*
 jcov2/*
 .idea/*
-test/lib/testng.jar
+test/lib/*.jar
 test/script/external/*
 .project
diff -r 120c1b8b4581 -r 83a084be209b .hgtags
--- a/.hgtags	Mon Jan 25 13:24:03 2016 -0800
+++ b/.hgtags	Mon Aug 08 15:51:34 2016 +0100
@@ -283,6 +283,7 @@
 7e89db817ed094766a039762a8061c3a600c7284 jdk8u20-b07
 2282c86cb1a954efd2fc5b7f22c173be19087c55 jdk8u20-b08
 41f588adeb7a397d395233f00bd3402d0989934a jdk8u20-b09
+fdcdffd5b5b1eb7d442096433d17466f023207f1 icedtea-3.0.0pre01
 fdcdffd5b5b1eb7d442096433d17466f023207f1 jdk8u20-b10
 c116e9229e096ffe841f2b4f79067378288d0d1d jdk8u20-b11
 c720454d2435be052fd941a789ece9468d1e8f74 jdk8u20-b12
@@ -296,6 +297,7 @@
 ed3439dca4a73a2dd4a284f3457f0af216a3eb55 jdk8u20-b20
 f2925491b61b22ac42f8c30ee9c6723ffa401a4c jdk8u20-b21
 5332595fe7ba2a1fc5564cc2689f378b04a56eb4 jdk8u20-b22
+2a866ca13bc68da2a70f200002797b2bea432c68 icedtea-3.0.0pre02
 ad36f9454ce38d78be39fc819902e1223765ee5e jdk8u20-b23
 d3da140e179343011017669a6dbfcc52b0e56f52 jdk8u20-b24
 d3da140e179343011017669a6dbfcc52b0e56f52 jdk8u20-b25
@@ -363,6 +365,9 @@
 653739706172ae94e999731a3a9f10f8ce11ffca jdk8u40-b18
 6ec61d2494283fbaca6df227f1a5b45487dc1ca7 jdk8u40-b19
 4d240320929f7b2247eeb97e43efe2370b70582e jdk8u40-b20
+d8fc6574c0b2f294df84cc0b188b9140537e896b icedtea-3.0.0pre03
+bb36d4894aa49666805a0d08607a80cac3a0fffb icedtea-3.0.0pre04
+f78a539468973c9afb83cd38849fb13427d58ea2 icedtea-3.0.0pre05
 dbb663a9d9aa2807ef501c7d20f29415816a1973 jdk8u40-b21
 f9f70a0f60f48fbb95275b6c1110cedf740c6177 jdk8u40-b22
 6ca090832d30fd0e46214ccc00816490ad75a8ab jdk8u40-b23
@@ -372,6 +377,7 @@
 c2dd88e89edc85b1bcb731d3296d0fcec1b78447 jdk8u40-b27
 e05552220ba82e465a1abfee90224b5b247e37bc jdk8u40-b31
 e1cc0fe0fd50fc4582e729897d7095ffce0f97ad jdk8u40-b32
+0130b5cb16e009195127cc13f828d6cf899fc4c7 jdk8u40-b33
 05a3614ed5276e5db2a73cce918be04b1a2922fb jdk8u45-b00
 21ec16eb7e6346c78b4fa67ccd6d2a9c58f0b696 jdk8u45-b01
 37b3ef9a07323afd2556d6837824db154cccc874 jdk8u45-b02
@@ -415,6 +421,7 @@
 4e5f9de7a3dfd0c4e15714863007ac591e9dffea jdk8u51-b31
 009644f58d73263eec2582a84a1e9b63975c5387 jdk8u51-b32
 eac4b87f86dde817023a07dcb701dc5d986b705f jdk8u51-b33
+bd915e4b7a4a8ddffec5c54829bde3cf9579f9d0 jdk8u51-b34
 6ec61d2494283fbaca6df227f1a5b45487dc1ca7 jdk8u60-b00
 af290f203369ecf8e67b89c4a3a8df0bf535230e jdk8u60-b01
 39e0c14d45c3fee93a29993f1415b3393d03483f jdk8u60-b02
@@ -439,6 +446,9 @@
 7475a2bd3c012f7dfd0532a344eb7efca56ac6e6 jdk8u60-b21
 9ed906919b5d92067edcdd966a3f413fca0f70ab jdk8u60-b22
 23165e806566f01cdc56421ea82c7e74a6fd85d5 jdk8u60-b23
+6f6d12f78ab05aa9ece89aeec09177ae088f33aa icedtea-3.0.0pre06
+fd478ce27023b3a4a7a9b64e65ce670c2b047542 icedtea-3.0.0pre07
+7babac6e7ecf625dc1f8f2c961c09ea9822ae90f icedtea-3.0.0pre08
 68107693248469f7b4fdcc35c53e4206a0d55087 jdk8u60-b24
 371f3f83f773ec97491d994bbcce834f0a2cca74 jdk8u60-b25
 58791cd01bc9aa973d8845ce63403b90d357b5ac jdk8u60-b26
@@ -481,6 +491,11 @@
 3cc16ff2735c6818b68fdf161ddbcc89a5b4db1a jdk8u66-b17
 39bfb9eb75dcb2176a87ac3b025a665c41244e54 jdk8u66-b18
 3e08bc604b2166b251833e522892ffcfd22b4b88 jdk8u66-b31
+52d1be12498e2390cf0581040ce6f4ab7258b498 jdk8u66-b32
+3629a9cd6627e0b9e1a0735be214b20fd2f9a743 jdk8u66-b33
+a33c509181cef86d6799d1e6ec389de2990bc16c jdk8u66-b34
+dbdadc4378e843b908e4dcf7c2348ba845672ed4 jdk8u66-b35
+4f4e3fac49899923f8cf871fba5572b28db60212 jdk8u66-b36
 a7ac4116ee88aa86fec5ac66901302e11f578172 jdk8u71-b00
 b8987f466586180cb4dc387f5fa290bb4cf34983 jdk8u71-b01
 a8fd49cb76fafc704b746a98bd18647802674d2d jdk8u71-b02
@@ -512,9 +527,101 @@
 b779108a142b80d9d8503c7220ad3bb7cb0dda53 jdk8u72-b12
 81e48503b62fd8814135f642905fe38056aaf2a9 jdk8u72-b13
 e48d06eeff82bea512cea44fa14d59b88067ef83 jdk8u72-b14
+bbc1966c6af946256899d083521361ac41c57ace icedtea-3.0.0pre09
 769b21d1b85cfb57c11c89bbc8f185f9e520df66 jdk8u72-b15
+c90794ad4d12eeeae5d9bbfce65fa0043a313548 jdk8u72-b31
+e9b46178f2e35d9ed2cd5b2f7279cf5e4e954222 jdk8u73-b00
+eeb5306edb7a0140117fe346782cce19c4c562a7 jdk8u73-b01
+955689d050b9f3f61b90ca063fe13704a82f5394 jdk8u73-b02
+2a36c3c61f905c5b389ae1d62f446e57f96be3a2 jdk8u74-b00
+ae6c74c1197afcbd83d393aa6f96221d759022a2 jdk8u74-b01
+3107cf87696f0516d6f5fa7cdc416069e2800d02 jdk8u74-b02
+4608bbcc94f73059680acd0f486744ff26485ee9 jdk8u74-b31
+7d0f4c8fc2754e25c1c148ff47bb79aa880c2874 jdk8u74-b32
+7bce03d47545e6a5341a2722168cd6bf697c4132 jdk8u77-b00
+678b645aa10aaf27895c87872c399c15daa026a1 jdk8u77-b01
+09abd795d1d143933224bcb3f12f5d4686b65373 jdk8u77-b02
+b6ee21a35619ce4d3b46a9b825438a3bc9bb63cd jdk8u77-b03
+961f73438a3cdacc6197663b2495b73c08805f24 jdk8u77-b31
+c90794ad4d12eeeae5d9bbfce65fa0043a313548 jdk8u72-b31
+c7eddafb2ee2cc9d62f20c4d821ccac03bd4617d jdk8u75-b00
+69fa156c1ebe6a8d6587147967e8e27f6de37d99 jdk8u75-b01
+9cce1ba325c4bd8e922380c911d1a9ace79d6717 jdk8u75-b02
+541de42b57098a5009055cc92f1139473e32f19d jdk8u75-b03
+16d657d6cb22e832139a1cbc2ec23a5cf9db8985 jdk8u101-b00
+16d657d6cb22e832139a1cbc2ec23a5cf9db8985 jdk8u75-b04
+dfa12474455fa6f4c48a6dee986c24db257161ad jdk8u75-b05
+1f85973e9533f7c9b1bae1e00b76a2184c5eed4c jdk8u75-b06
+3587da3cf2f204791a68138a110eda9b8874523d jdk8u75-b07
+b1ee37988256c198cb009b36b9b0d9d6d4b2685c jdk8u75-b08
+fd2b29bd7cb64a9a04d75a659bc683751b3a4f35 jdk8u75-b09
+bab68ab3df71269887bb3572291a19f7856e49dc jdk8u75-b10
+e35e96663a905f0258f6572ab6a07fbea71b9d45 jdk8u75-b12
+7bce03d47545e6a5341a2722168cd6bf697c4132 jdk8u77-b00
+678b645aa10aaf27895c87872c399c15daa026a1 jdk8u77-b01
+09abd795d1d143933224bcb3f12f5d4686b65373 jdk8u77-b02
+82dc1533255a553c3269f6a2ec8242e3a1638d67 icedtea-3.0.0pre10
+697c5f792becf185ec29d7f60c3491f08800a109 icedtea-3.0.0
+38236e7925eb3b7929ae89e54ff96cb854d01fbb icedtea-3.0-branchpoint
+b6ee21a35619ce4d3b46a9b825438a3bc9bb63cd jdk8u77-b03
+a2c005a7b33abed886cfb4309a846dd80c87bd4e jdk8u91-b00
+22925b345dffe4ba96fe2f429c4185cda1b30239 jdk8u91-b13
+6296644a2c9c30db0062117fc776341e937ca1f9 jdk8u91-b14
+32b80df71ca2a6ae827ba7042cea868f40e0a0dd jdk8u91-b15
+7bce03d47545e6a5341a2722168cd6bf697c4132 jdk8u77-b00
+678b645aa10aaf27895c87872c399c15daa026a1 jdk8u77-b01
+09abd795d1d143933224bcb3f12f5d4686b65373 jdk8u77-b02
+b6ee21a35619ce4d3b46a9b825438a3bc9bb63cd jdk8u77-b03
 9ff5c21813330147bf08389b3992534780c93247 jdk8u76-b00
 b7bbed8b05dd50c27050c7e10e20d25329dcd32b jdk8u76-b01
 4c1aa7b8c43c6fd38f9c13a6df2264378dd6a873 jdk8u76-b02
 07db58f99673790d5139e8497552ac331e0824f5 jdk8u76-b03
 068c584278637dae589e7d648c265149e80c8a24 jdk8u76-b04
+b31ba749a22e9dce7637e709122e1138b01e8b66 jdk8u76-b05
+0d5cfd0fc8192fd4569300135f81f5f2b7a7bd90 jdk8u76-b06
+454441af046768d86420749d6b7959dfdb1004bb jdk8u76-b07
+018d3bf827feeaeed0f3b61948b44f64c73efd12 jdk8u76-b08
+fe15575fd53e7ee8e8bf44728bab9cc0a9e6b107 jdk8u76-b09
+2816d2045f017d1b0dfd20319bbb59004d698396 jdk8u76-b10
+0608b63feb608f36bde691498d2ad22c7c24ad0f jdk8u76-b11
+da1aa86606ef1b46655ae28d34e0d02604fb4cde jdk8u76-b12
+256922f1e9e7648eb5af5a9da82ff8032b3855bc jdk8u92-b00
+e2294411edbda51165bc1a10261c246cb4d3c5c5 jdk8u92-b13
+8dbea1d5ea71738dbdd28cd0537b2624ad389f56 icedtea-3.1.0pre01
+a69ff719fccb35948af9c950c414f6ccb16679cb icedtea-3.1.0pre02
+2417a5bf2b157c83863829b1773b9d4369f8a3b0 icedtea-3.1.0pre03
+68145b690b187b31cf2814d892d8779e17e3aa4d icedtea-3.1.0pre04
+d2af8d0297223ff16d59ee64b7058cafef8f3bb8 jdk8u92-b14
+ff47e8b14690edada1d0a4386e63bb4bc2f38ab4 jdk8u92-b31
+16d657d6cb22e832139a1cbc2ec23a5cf9db8985 jdk8u81-b00
+793156da7cc9c74489ab5fa5f5598bba172846e2 jdk8u101-b01
+79fc469a68bbe03f69919f4cebe0381df1b1d2a3 jdk8u101-b02
+d93088bdd15d507b35bc4ced85c6c748705511fc jdk8u101-b03
+9bd5aadd8e739d4ad4bb2e30741cdbe9ae2bae66 jdk8u101-b04
+a347853dbf17605c650532c4291bb9117d80f568 jdk8u101-b05
+3bc08e0d23a3965937e634d00e84ea69505e2653 jdk8u101-b06
+313c90baea02c1c8c162bea894c7adf6dc33a05b jdk8u101-b07
+926025d895a459bec2031a17e674c4aa5ebe6fe1 jdk8u101-b08
+47209e0bae1d65243158b3d8c2f6602cc265832c jdk8u101-b09
+740d8d604c0ef2b12d9835d2842f60dcc08fee0d jdk8u101-b10
+de5fdc537134ec505958a66d79c0ff68282520d2 jdk8u101-b11
+2f506194a131597352bbe1a08492266a8aed13f8 jdk8u101-b12
+289b6e3c6e050f1a6f079c91a5f37c99889caed9 icedtea-3.1.0
+cd4ba667912c7cf2393bb290eb61528c55d96e72 icedtea-3.2.0pre01
+44e4e6cbe15bf1674cfd7a03acfb962dd4339767 jdk8u101-b13
+120c1b8b458170ed017d2ee60cc9d63896eeb4b9 jdk8u102-b00
+120c1b8b458170ed017d2ee60cc9d63896eeb4b9 jdk8u82-b00
+79dcbdb92a8c39de6d1417557af9e6c2c03f806d jdk8u102-b01
+17416ae62bd720ebb53d20bb24272991084633bd jdk8u102-b02
+75728277aeee30f31c9418f37faf8f4216c539d7 jdk8u102-b03
+8ebcaf17bc745aa581aa8eff807da97f2f74058e jdk8u102-b04
+676a870491e5934e88d40cf2c68bef646c63b4ea jdk8u102-b05
+114e7557d33ce9e5f1bf982f45977a630c44d8a5 jdk8u102-b06
+13a10967cff181a71933a4f1508691553f43304b jdk8u102-b07
+31c898437a15f4feef6c1502d3f1eaf8a3d9de48 jdk8u102-b08
+e4f74a337545a0283f9b7bb6a85ce1b2c4a5fdd6 jdk8u102-b09
+3b84415442d7b4eaa4a7da75b9d428e81e8be575 jdk8u102-b10
+7bd6f4f266f66d32e4ce743928d7c4021c23c477 jdk8u102-b11
+e3db6994bbbd654be3ebd677b2cc80469f7133a3 jdk8u102-b12
+a010893ca6ee93c1a4832d1c484be6a119ca7ae4 jdk8u102-b13
+0b84d2cb4e3a247b2ca0f6a7f882892da3627329 icedtea-3.2.0pre02
diff -r 120c1b8b4581 -r 83a084be209b .jcheck/conf
--- a/.jcheck/conf	Mon Jan 25 13:24:03 2016 -0800
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-project=jdk8
-bugids=dup
diff -r 120c1b8b4581 -r 83a084be209b make/build.xml
--- a/make/build.xml	Mon Jan 25 13:24:03 2016 -0800
+++ b/make/build.xml	Mon Aug 08 15:51:34 2016 +0100
@@ -49,9 +49,17 @@
     <condition property="git.executable" value="/usr/local/bin/git" else="git">
       <available file="/usr/local/bin/git"/>
     </condition>
-    <!-- check if testng.jar is avaiable -->
-    <available property="testng.available" file="${file.reference.testng.jar}"/>
-    <!-- check if Jemmy ang testng.jar are avaiable -->
+    <!-- check if TestNG and dependencies are available, and download them if they aren't -->
+    <antcall target="get-testng"/>
+    <condition property="testng.available" value="true">
+      <and>
+        <available file="${file.reference.testng.jar}"/>
+        <available file="${file.reference.jcommander.jar}"/>
+        <available file="${file.reference.bsh.jar}"/>
+        <available file="${file.reference.snakeyaml.jar}"/>
+      </and>
+    </condition>
+    <!-- check if Jemmy ang TestNG are avaiable -->
     <condition property="jemmy.jfx.testng.available" value="true">
       <and>
         <available file="${file.reference.jemmyfx.jar}"/>
@@ -214,6 +222,7 @@
     <javadoc destdir="${dist.javadoc.dir}" use="yes" overview="${src.dir}/overview.html" 
         extdirs="${nashorn.ext.path}" windowtitle="${nashorn.product.name} ${nashorn.version}"
         additionalparam="-quiet" failonerror="true" useexternalfile="true">
+      <arg value="${javadoc.option}"/>
       <classpath>
         <pathelement location="${build.classes.dir}"/>
       </classpath>
@@ -232,6 +241,7 @@
     <javadoc destdir="${dist.javadoc.dir}" use="yes" overview="${src.dir}/overview.html"
         extdirs="${nashorn.ext.path}" windowtitle="${nashorn.product.name} ${nashorn.version}"
         additionalparam="-quiet" failonerror="true" useexternalfile="true">
+      <arg value="${javadoc.option}"/>
       <classpath>
         <pathelement location="${build.classes.dir}"/>
       </classpath>
@@ -244,6 +254,7 @@
   <target name="javadocapi" depends="jar">
     <javadoc destdir="${dist.javadoc.dir}" use="yes" extdirs="${nashorn.ext.path}" 
         windowtitle="${nashorn.product.name}" additionalparam="-quiet" failonerror="true" useexternalfile="true">
+      <arg value="${javadoc.option}"/>
       <classpath>
         <pathelement location="${build.classes.dir}"/>
       </classpath>
@@ -275,7 +286,7 @@
   <target name="compile-test" depends="compile, run-nasgen" if="testng.available">
     <!-- testng task -->
     <taskdef name="testng" classname="org.testng.TestNGAntTask"
-        classpath="${file.reference.testng.jar}"/>
+        classpath="${testng.ant.classpath}"/>
 
     <javac srcdir="${test.src.dir}"
            destdir="${build.test.classes.dir}"
@@ -331,6 +342,15 @@
 grant codeBase "file:/${basedir}/${file.reference.testng.jar}" {
     permission java.security.AllPermission;
 };
+grant codeBase "file:/${basedir}/${file.reference.jcommander.jar}" {
+    permission java.security.AllPermission;
+};
+grant codeBase "file:/${basedir}/${file.reference.bsh.jar}" {
+    permission java.security.AllPermission;
+};
+grant codeBase "file:/${basedir}/${file.reference.snakeyaml.jar}" {
+    permission java.security.AllPermission;
+};
 //// in case of absolute path:
 grant codeBase "file:/${nashorn.internal.tests.jar}" {
     permission java.security.AllPermission;
@@ -339,6 +359,16 @@
 grant codeBase "file:/${file.reference.testng.jar}" {
     permission java.security.AllPermission;
 };
+grant codeBase "file:/${file.reference.jcommander.jar}" {
+    permission java.security.AllPermission;
+};
+grant codeBase "file:/${file.reference.bsh.jar}" {
+    permission java.security.AllPermission;
+};
+grant codeBase "file:/${file.reference.snakeyaml.jar}" {
+    permission java.security.AllPermission;
+};
+
 
 grant codeBase "file:/${basedir}/test/script/trusted/*" {
     permission java.security.AllPermission;
@@ -408,7 +438,7 @@
   </target>
 
   <target name="check-testng" unless="testng.available">
-    <echo message="WARNING: TestNG not available, will not run tests. Please copy testng.jar under ${test.lib} directory."/>
+    <echo message="WARNING: TestNG not available, will not run tests. Please copy TestNG and dependency JARs to the ${test.lib} directory."/>
   </target>
 
   <!-- only to be invoked as dependency of "test" target -->
@@ -480,7 +510,7 @@
     </testng>
   </target>
 
-  <target name="test" depends="get-testng, javadocnh, test-pessimistic, test-optimistic"/>
+  <target name="test" depends="prepare, javadocnh, test-pessimistic, test-optimistic"/>
 
   <target name="test-optimistic" depends="jar, -test-classes-all,-test-classes-single, check-testng, check-external-tests, compile-test, generate-policy-file" if="testng.available">
     <echo message="Running test suite in OPTIMISTIC mode..."/>
@@ -507,7 +537,7 @@
   </target>
 
   <target name="check-jemmy.jfx.testng" unless="jemmy.jfx.testng.available">
-    <echo message="WARNING: Jemmy or JavaFX or TestNG not available, will not run tests. Please copy testng.jar, JemmyCore.jar, JemmyFX.jar, JemmyAWTInput.jar under test${file.separator}lib directory. And make sure you have jfxrt.jar in ${java.home}${file.separator}lib${file.separator}ext dir."/>
+    <echo message="WARNING: Jemmy or JavaFX or TestNG not available, will not run tests. Please copy TestNG and dependency JARs, JemmyCore.jar, JemmyFX.jar, JemmyAWTInput.jar to the test${file.separator}lib directory. And make sure you have jfxrt.jar in ${java.home}${file.separator}lib${file.separator}ext dir."/>
   </target>
 
   <target name="testjfx" depends="jar, get-testng, check-jemmy.jfx.testng, compile-test" if="jemmy.jfx.testng.available">
@@ -742,15 +772,13 @@
   <target name="perf" depends="externals, update-externals, sunspider, octane"/>
 
   <!-- download and install testng.jar -->
-  <target name="get-testng" depends="prepare" unless="testng.available">
-    <get src="http://testng.org/testng-6.8.zip" dest="${test.lib}" skipexisting="true" ignoreerrors="true"/>
-    <unzip src="${test.lib}${file.separator}testng-6.8.zip" dest="${test.lib}">
-      <patternset>
-        <include name="testng-6.8/testng-6.8.jar"/>
-      </patternset>
-    </unzip>
-    <move file="${test.lib}${file.separator}testng-6.8${file.separator}testng-6.8.jar" tofile="${test.lib}${file.separator}testng.jar"/>
-    <delete dir="${test.lib}${file.separator}testng-6.8"/>
+  <target name="get-testng">
+    <get dest="${test.lib}" skipexisting="true">
+      <url url="http://central.maven.org/maven2/org/testng/testng/6.8/testng-6.8.jar"/>
+      <url url="http://central.maven.org/maven2/com/beust/jcommander/1.27/jcommander-1.27.jar"/>
+      <url url="http://central.maven.org/maven2/org/beanshell/bsh/2.0b4/bsh-2.0b4.jar"/>
+      <url url="http://central.maven.org/maven2/org/yaml/snakeyaml/1.6/snakeyaml-1.6.jar"/>
+    </get>
   </target>
 
   <!-- run all tests -->
diff -r 120c1b8b4581 -r 83a084be209b make/project.properties
--- a/make/project.properties	Mon Jan 25 13:24:03 2016 -0800
+++ b/make/project.properties	Mon Aug 08 15:51:34 2016 +0100
@@ -33,6 +33,8 @@
 test.javac.source=1.8
 test.javac.target=1.8
 
+javadoc.option=-tag "implSpec:a:Implementation Requirements:"
+
 # nashorn version information
 nashorn.version=0.1
 nashorn.fullversion=0.1
@@ -83,7 +85,17 @@
 test.lib=${basedir}${file.separator}test${file.separator}lib
 
 # jars refererred
-file.reference.testng.jar=${test.lib}${file.separator}testng.jar
+file.reference.testng.jar=${test.lib}${file.separator}testng-6.8.jar
+file.reference.jcommander.jar=${test.lib}${file.separator}jcommander-1.27.jar
+file.reference.bsh.jar=${test.lib}${file.separator}bsh-2.0b4.jar
+file.reference.snakeyaml.jar=${test.lib}${file.separator}snakeyaml-1.6.jar
+
+# TestNG ant task classpath
+testng.ant.classpath=\
+    ${file.reference.testng.jar}${path.separator}\
+    ${file.reference.jcommander.jar}${path.separator}\
+    ${file.reference.bsh.jar}${path.separator}\
+    ${file.reference.snakeyaml.jar}${path.separator}
 
 # Set testng verbose level
 # From TestNG docs: "the verbosity level (0 to 10 where 10 is most detailed) 
@@ -112,7 +124,10 @@
 javac.test.classpath=\
     ${build.classes.dir}${path.separator}\
     ${build.test.classes.dir}${path.separator}\
-    ${file.reference.testng.jar}
+    ${file.reference.testng.jar}${path.separator}\
+    ${file.reference.jcommander.jar}${path.separator}\
+    ${file.reference.bsh.jar}${path.separator}\
+    ${file.reference.snakeyaml.jar}
 
 meta.inf.dir=${src.dir}/META-INF
 
@@ -251,6 +266,9 @@
     ${file.reference.jemmycore.jar}${path.separator}\
     ${file.reference.jemmyawtinput.jar}${path.separator}\
     ${file.reference.testng.jar}${path.separator}\
+    ${file.reference.jcommander.jar}${path.separator}\
+    ${file.reference.bsh.jar}${path.separator}\
+    ${file.reference.snakeyaml.jar}${path.separator}\
     ${nashorn.internal.tests.jar}${path.separator}\
     ${nashorn.api.tests.jar}
 
@@ -259,6 +277,9 @@
 
 run.test.classpath=\
     ${file.reference.testng.jar}${path.separator}\
+    ${file.reference.jcommander.jar}${path.separator}\
+    ${file.reference.bsh.jar}${path.separator}\
+    ${file.reference.snakeyaml.jar}${path.separator}\
     ${nashorn.internal.tests.jar}${path.separator}\
     ${nashorn.api.tests.jar}
 
diff -r 120c1b8b4581 -r 83a084be209b samples/lines.js
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/samples/lines.js	Mon Aug 08 15:51:34 2016 +0100
@@ -0,0 +1,41 @@
+/*
+ * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ *   - Redistributions of source code must retain the above copyright
+ *     notice, this list of conditions and the following disclaimer.
+ *
+ *   - Redistributions in binary form must reproduce the above copyright
+ *     notice, this list of conditions and the following disclaimer in the
+ *     documentation and/or other materials provided with the distribution.
+ *
+ *   - Neither the name of Oracle nor the names of its
+ *     contributors may be used to endorse or promote products derived
+ *     from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
+ * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+var Files = java.nio.file.Files;
+var File = java.io.File;
+var d = arguments.length == 0? "." : arguments[0];
+
+// print total number of lines in all .java files under a
+// given directory (recursively)
+
+print(Files.walk(new File(d).toPath()).
+  filter(function(p) p.toString().endsWith(".java")).
+  mapToInt(function(p) Files.lines(p).count()).sum())
diff -r 120c1b8b4581 -r 83a084be209b src/jdk/nashorn/api/scripting/AbstractJSObject.java
--- a/src/jdk/nashorn/api/scripting/AbstractJSObject.java	Mon Jan 25 13:24:03 2016 -0800
+++ b/src/jdk/nashorn/api/scripting/AbstractJSObject.java	Mon Aug 08 15:51:34 2016 +0100
@@ -27,6 +27,7 @@
 
 import java.util.Collection;
 import java.util.Collections;
+import java.util.Objects;
 import java.util.Set;
 import jdk.nashorn.internal.runtime.JSONListAdapter;
 import jdk.nashorn.internal.runtime.JSType;
@@ -36,7 +37,7 @@
  *
  * This class can also be subclassed by an arbitrary Java class. Nashorn will
  * treat objects of such classes just like nashorn script objects. Usual nashorn
- * operations like obj[i], obj.foo, obj.func(), delete obj.foo will be glued
+ * operations like obj[i], obj.foo, obj.func(), delete obj.foo will be delegated
  * to appropriate method call of this class.
  *
  * @since 1.8u40
@@ -44,12 +45,12 @@
 @jdk.Exported
 public abstract class AbstractJSObject implements JSObject {
     /**
-     * Call this object as a JavaScript function. This is equivalent to
-     * 'func.apply(thiz, args)' in JavaScript.
-     *
-     * @param thiz 'this' object to be passed to the function
-     * @param args arguments to method
-     * @return result of call
+     * The default constructor.
+     */
+    public AbstractJSObject() {}
+
+    /**
+     * @implSpec This implementation always throws UnsupportedOperationException
      */
     @Override
     public Object call(final Object thiz, final Object... args) {
@@ -57,11 +58,7 @@
     }
 
     /**
-     * Call this 'constructor' JavaScript function to create a new object.
-     * This is equivalent to 'new func(arg1, arg2...)' in JavaScript.
-     *
-     * @param args arguments to method
-     * @return result of constructor call
+     * @implSpec This implementation always throws UnsupportedOperationException
      */
     @Override
     public Object newObject(final Object... args) {
@@ -69,10 +66,7 @@
     }
 
     /**
-     * Evaluate a JavaScript expression.
-     *
-     * @param s JavaScript expression to evaluate
-     * @return evaluation result
+     * @implSpec This imlementation always throws UnsupportedOperationException
      */
     @Override
     public Object eval(final String s) {
@@ -80,21 +74,16 @@
     }


More information about the distro-pkg-dev mailing list