/hg/icedtea8-forest/nashorn: 82 new changesets
andrew at icedtea.classpath.org
andrew at icedtea.classpath.org
Fri Aug 29 15:56:06 UTC 2014
changeset ef90d0fc9533 in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=ef90d0fc9533
author: katleman
date: Wed Apr 16 12:32:47 2014 -0700
Added tag jdk8u20-b10 for changeset fdcdffd5b5b1
changeset e0e2d72e6699 in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=e0e2d72e6699
author: hannesw
date: Wed Apr 02 18:26:57 2014 +0200
8038638: Persistent store for compiled scripts
Reviewed-by: lagergren, sundar
changeset 7a21339bb76e in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=7a21339bb76e
author: hannesw
date: Thu Apr 03 17:35:13 2014 +0200
8039181: Persistent code store does not use absolute paths internally
Reviewed-by: sundar, lagergren
changeset 3cb09c560108 in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=3cb09c560108
author: sundar
date: Mon Apr 07 21:57:33 2014 +0530
8039387: Nashorn supports indexed access of List elements, but length property is not supported
Reviewed-by: lagergren, jlaskey
changeset 163ad5235ef6 in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=163ad5235ef6
author: mnunez
date: Mon Mar 17 18:27:30 2014 +0100
8037378: Write sanity tests for bytecode persistence feature
Reviewed-by: sundar, hannesw
changeset 06b8bf8df928 in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=06b8bf8df928
author: mnunez
date: Wed Mar 19 16:01:19 2014 +0100
8037779: NoPersistenceCachingTest fails with ant test
Reviewed-by: sundar, hannesw
changeset 997c08a0a6c0 in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=997c08a0a6c0
author: mnunez
date: Wed Apr 09 10:14:34 2014 +0200
8039403: Write sanity tests for persistent caching
Reviewed-by: hannesw, sundar
changeset 47dc7a83b3c4 in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=47dc7a83b3c4
author: lana
date: Fri Apr 11 09:37:10 2014 -0700
Merge
changeset 5cd03033fb19 in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=5cd03033fb19
author: hannesw
date: Mon Apr 14 17:43:38 2014 +0200
8030199: Nashorn: Uint8ClampedArray - Incorrect ToUint8Clamp implementation
Reviewed-by: sundar, jlaskey, lagergren
changeset 14f081aae67a in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=14f081aae67a
author: hannesw
date: Mon Apr 14 17:45:05 2014 +0200
8030200: Wrong result for Number.prototype.toString() for certain radix/inputs
Reviewed-by: sundar, jlaskey, lagergren
changeset c116e9229e09 in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=c116e9229e09
author: lana
date: Wed Apr 16 15:05:39 2014 -0700
Merge
changeset c720454d2435 in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=c720454d2435
author: katleman
date: Wed Apr 23 11:35:49 2014 -0700
Added tag jdk8u20-b11 for changeset c116e9229e09
changeset aa02e673d768 in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=aa02e673d768
author: katleman
date: Wed Apr 30 11:17:23 2014 -0700
Added tag jdk8u20-b12 for changeset c720454d2435
changeset ae85d184a58a in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=ae85d184a58a
author: hannesw
date: Mon Apr 28 18:17:29 2014 +0200
8041953: JDK-8031359.js fails in 8u-dev
Reviewed-by: attila, lagergren
changeset 2ca464cf3093 in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=2ca464cf3093
author: lana
date: Wed Apr 30 23:59:22 2014 -0700
Merge
changeset 2f6add5fefb3 in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=2f6add5fefb3
author: katleman
date: Wed May 07 10:59:13 2014 -0700
Added tag jdk8u20-b13 for changeset 2ca464cf3093
changeset fc45fab1b91c in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=fc45fab1b91c
author: katleman
date: Tue May 13 23:18:50 2014 -0700
Added tag jdk8u20-b14 for changeset 2f6add5fefb3
changeset 8f06a63adf4e in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=8f06a63adf4e
author: sundar
date: Fri May 02 19:15:59 2014 +0530
8027933: Add --const-as-var option
Reviewed-by: jlaskey, hannesw
changeset cdf42b4b8226 in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=cdf42b4b8226
author: hannesw
date: Fri Apr 25 16:34:17 2014 +0200
8040078: Avoid repeated reading of source for cached loads
Reviewed-by: jlaskey, lagergren
changeset 9ad26ed8cc97 in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=9ad26ed8cc97
author: hannesw
date: Tue May 06 12:38:12 2014 +0200
8041998: RegExp implementation is not thread-safe
Reviewed-by: lagergren, sundar, attila
changeset ef8fa378d444 in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=ef8fa378d444
author: sundar
date: Tue May 06 17:54:15 2014 +0530
8042364: Make __proto__ ES6 draft compliant
Reviewed-by: jlaskey, lagergren, attila
changeset bb3e5d0fcc33 in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=bb3e5d0fcc33
author: mnunez
date: Tue Feb 11 12:05:22 2014 +0100
8033231: test fails with java.lang.UnsatisfiedLinkError
Reviewed-by: attila, sundar
changeset dea8e0de23b2 in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=dea8e0de23b2
author: sundar
date: Wed May 07 14:07:19 2014 +0530
8041697: CompiledScript slower when eval with binding
Reviewed-by: lagergren, attila, hannesw
changeset 90d417fd526c in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=90d417fd526c
author: lana
date: Wed May 07 21:33:30 2014 -0700
Merge
changeset 41be00d23622 in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=41be00d23622
author: sundar
date: Wed May 07 20:20:58 2014 +0530
8042600: Add more samples in nashorn/samples directory
Reviewed-by: jlaskey, hannesw
changeset bb2d11667547 in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=bb2d11667547
author: lana
date: Wed May 14 11:02:04 2014 -0700
Merge
changeset c89a4945404c in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=c89a4945404c
author: katleman
date: Wed May 21 10:57:30 2014 -0700
Added tag jdk8u20-b15 for changeset bb2d11667547
changeset 5006ac208b4b in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=5006ac208b4b
author: katleman
date: Wed May 28 02:28:09 2014 -0700
Added tag jdk8u20-b16 for changeset c89a4945404c
changeset ffdb43036807 in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=ffdb43036807
author: sundar
date: Tue May 20 08:32:09 2014 +0530
8043443: Test framework changes to run script tests without security manager
Reviewed-by: attila
changeset 3384c8f804a8 in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=3384c8f804a8
author: hannesw
date: Thu May 22 17:51:56 2014 +0200
8030202: Nashorn: Multiple RegExp#ignoreCase issues
Reviewed-by: sundar, jlaskey
changeset 17ecefeb50dd in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=17ecefeb50dd
author: mnunez
date: Thu May 22 11:12:29 2014 +0200
8028615: jdk.nashorn.x3::some.serious.failure needs more memory to run
Reviewed-by: attila, sundar
Contributed-by: sergey.lugovoy at oracle.com
changeset fdd8ffdbc6e6 in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=fdd8ffdbc6e6
author: sundar
date: Mon May 26 15:48:25 2014 +0530
8043930: TypeError when attemping to create an instance of non-public class could be better
Reviewed-by: attila, lagergren
changeset f255e14c823d in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=f255e14c823d
author: sundar
date: Tue May 27 17:40:19 2014 +0530
8044000: Access to undefined property yields "null" instead of "undefined"
Reviewed-by: lagergren, jlaskey
changeset 046bf6509a1f in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=046bf6509a1f
author: lana
date: Wed May 28 11:08:07 2014 -0700
Merge
changeset 847387339a56 in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=847387339a56
author: katleman
date: Wed Jun 04 08:47:07 2014 -0700
Added tag jdk8u20-b17 for changeset 046bf6509a1f
changeset b047df215de4 in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=b047df215de4
author: katleman
date: Wed Jun 11 09:31:28 2014 -0700
Added tag jdk8u20-b18 for changeset 847387339a56
changeset 6e9c4e34bc61 in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=6e9c4e34bc61
author: katleman
date: Wed Jun 18 12:35:42 2014 -0700
Added tag jdk8u20-b19 for changeset b047df215de4
changeset 3f7d86480ce5 in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=3f7d86480ce5
author: sundar
date: Fri May 30 17:22:38 2014 +0530
8044415: ant makefile should have a target to generate javadoc only for jdk.nashorn.api and sub-packages
Reviewed-by: jlaskey
changeset 0005562330fa in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=0005562330fa
author: sundar
date: Tue Jun 03 13:57:52 2014 +0530
8044612: StringIndexOutOfBoundException in NativeRegExp.appendReplacement
Reviewed-by: hannesw, lagergren
changeset 77f0308eb2e6 in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=77f0308eb2e6
author: sundar
date: Tue Jun 03 17:04:23 2014 +0530
8044520: Nashorn cannot execute node.js's express module
Reviewed-by: hannesw, lagergren
changeset 85ad3ce0796f in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=85ad3ce0796f
author: sundar
date: Wed Jun 04 16:39:04 2014 +0530
8044750: megamorphic getter for scope objects does not call __noSuchProperty__ hook
Reviewed-by: attila, lagergren, hannesw
changeset f557ba467d1d in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=f557ba467d1d
author: sundar
date: Thu Jun 05 18:31:11 2014 +0530
8044695: __stack__ becomes visible in Error properties
Reviewed-by: jlaskey, attila, lagergren
changeset e645f15e1c1d in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=e645f15e1c1d
author: sundar
date: Wed Jun 11 17:41:52 2014 +0530
8044798: API for debugging Nashorn
Reviewed-by: jlaskey, hannesw
changeset ba5b790ed0f5 in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=ba5b790ed0f5
author: sundar
date: Mon Jun 16 08:55:58 2014 +0530
8044517: Run & debug single Nashorn test
Reviewed-by: lagergren, attila
Contributed-by: jaroslav.tulach at oracle.com
changeset c9ed47ef089a in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=c9ed47ef089a
author: lana
date: Mon Jun 16 11:19:14 2014 -0700
Merge
changeset ed3439dca4a7 in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=ed3439dca4a7
author: lana
date: Thu Jun 19 17:59:34 2014 -0700
Merge
changeset f2925491b61b in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=f2925491b61b
author: katleman
date: Wed Jun 25 12:55:48 2014 -0700
Added tag jdk8u20-b20 for changeset ed3439dca4a7
changeset 5332595fe7ba in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=5332595fe7ba
author: katleman
date: Wed Jul 02 15:01:43 2014 -0700
Added tag jdk8u20-b21 for changeset f2925491b61b
changeset b48b69a8b827 in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=b48b69a8b827
author: katleman
date: Wed Jul 09 13:58:15 2014 -0700
Added tag jdk8u20-b22 for changeset 5332595fe7ba
changeset 4dda2b1e51aa in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=4dda2b1e51aa
author: katleman
date: Tue Mar 25 11:23:34 2014 -0700
Added tag jdk8u11-b01 for changeset 53cc5fda790e
changeset 161f144c4e84 in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=161f144c4e84
author: katleman
date: Tue Apr 01 12:02:14 2014 -0700
Added tag jdk8u11-b02 for changeset 4dda2b1e51aa
changeset 2842beaa5db8 in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=2842beaa5db8
author: katleman
date: Tue Apr 08 11:45:32 2014 -0700
Added tag jdk8u11-b03 for changeset 161f144c4e84
changeset 7001e9f95b44 in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=7001e9f95b44
author: katleman
date: Tue Apr 15 12:07:00 2014 -0700
Added tag jdk8u11-b04 for changeset 2842beaa5db8
changeset daa414a4d8b7 in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=daa414a4d8b7
author: katleman
date: Tue Apr 22 11:57:09 2014 -0700
Added tag jdk8u11-b05 for changeset 7001e9f95b44
changeset d9d482948b7c in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=d9d482948b7c
author: katleman
date: Tue Apr 29 12:52:11 2014 -0700
Added tag jdk8u11-b06 for changeset daa414a4d8b7
changeset 74a3ead86f5e in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=74a3ead86f5e
author: katleman
date: Tue May 06 10:04:22 2014 -0700
Added tag jdk8u11-b07 for changeset d9d482948b7c
changeset a39251394102 in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=a39251394102
author: mnunez
date: Tue Feb 11 12:05:22 2014 +0100
8033231: test fails with java.lang.UnsatisfiedLinkError
Reviewed-by: attila, sundar
changeset dec6999877f3 in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=dec6999877f3
author: katleman
date: Tue May 13 08:14:35 2014 -0700
Added tag jdk8u11-b08 for changeset a39251394102
changeset 8d7476d004d9 in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=8d7476d004d9
author: katleman
date: Mon May 19 20:52:20 2014 -0700
Added tag jdk8u11-b09 for changeset dec6999877f3
changeset 90c4833e0f87 in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=90c4833e0f87
author: asaha
date: Tue May 20 12:01:45 2014 -0700
Merge
changeset d522ff5f5373 in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=d522ff5f5373
author: mnunez
date: Thu May 22 11:12:29 2014 +0200
8028615: jdk.nashorn.x3::some.serious.failure needs more memory to run
Reviewed-by: attila, sundar
Contributed-by: sergey.lugovoy at oracle.com
changeset 3175dcbdd76e in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=3175dcbdd76e
author: katleman
date: Wed May 28 02:42:45 2014 -0700
Added tag jdk8u11-b10 for changeset d522ff5f5373
changeset 3826249b7b44 in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=3826249b7b44
author: asaha
date: Wed May 28 12:03:49 2014 -0700
Merge
changeset 31c368a27e6f in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=31c368a27e6f
author: asaha
date: Wed May 28 15:53:45 2014 -0700
Merge
changeset 1deaea7f4fef in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=1deaea7f4fef
author: asaha
date: Mon Jun 02 15:15:37 2014 -0700
Merge
changeset 1cbe62403404 in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=1cbe62403404
author: asaha
date: Wed Jun 04 09:01:10 2014 -0700
Merge
changeset eea7f92c5fcc in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=eea7f92c5fcc
author: katleman
date: Tue Jun 03 14:19:46 2014 -0700
Added tag jdk8u11-b11 for changeset 3175dcbdd76e
changeset 34ea9db2bad7 in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=34ea9db2bad7
author: asaha
date: Thu Jun 05 15:14:36 2014 -0700
Merge
changeset 0d9ec7ab018f in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=0d9ec7ab018f
author: asaha
date: Wed Jun 11 09:45:41 2014 -0700
Merge
changeset 0d973c490303 in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=0d973c490303
author: katleman
date: Tue Jun 17 13:04:22 2014 -0700
Added tag jdk8u11-b12 for changeset eea7f92c5fcc
changeset de301740df68 in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=de301740df68
author: asaha
date: Tue Jun 17 15:55:04 2014 -0700
Merge
changeset 3e679b930b10 in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=3e679b930b10
author: asaha
date: Wed Jun 18 12:56:25 2014 -0700
Merge
changeset b75ba61e3422 in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=b75ba61e3422
author: asaha
date: Thu Jun 26 07:56:46 2014 -0700
Merge
changeset c59757e93f6f in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=c59757e93f6f
author: katleman
date: Fri Jun 13 11:56:51 2014 -0700
Added tag jdk8u5-b31 for changeset 53cc5fda790e
changeset b2c8eadc494b in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=b2c8eadc494b
author: asaha
date: Tue Jun 24 13:59:44 2014 -0700
Merge
changeset 39663bd57e15 in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=39663bd57e15
author: asaha
date: Thu Jun 26 08:04:42 2014 -0700
Merge
changeset 00dfaea88fdd in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=00dfaea88fdd
author: asaha
date: Thu Jun 26 18:37:13 2014 -0700
Added tag jdk8u11-b31 for changeset b2c8eadc494b
changeset ba2390875900 in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=ba2390875900
author: asaha
date: Wed Jul 02 15:25:03 2014 -0700
Merge
changeset 72dc5c7acd63 in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=72dc5c7acd63
author: asaha
date: Wed Jul 02 15:33:40 2014 -0700
Merge
changeset ad36f9454ce3 in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=ad36f9454ce3
author: asaha
date: Thu Jul 10 08:02:16 2014 -0700
Merge
changeset 2a866ca13bc6 in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=2a866ca13bc6
author: andrew
date: Tue Aug 19 23:57:20 2014 +0100
Merge jdk8u20-b23
changeset ef23d8dd7745 in /hg/icedtea8-forest/nashorn
details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=ef23d8dd7745
author: andrew
date: Fri Aug 29 16:52:54 2014 +0100
Added tag icedtea-3.0.0pre02 for changeset 2a866ca13bc6
diffstat:
.hgtags | 29 +
.jcheck/conf | 2 -
make/build.xml | 79 +-
make/nbproject/ide-file-targets.xml | 36 +-
make/nbproject/project.xml | 22 +-
make/project.properties | 8 +-
samples/BufferArray.java | 110 ++
samples/CastExample.java | 38 +
samples/README | 1 +
samples/array_mapreduce.js | 78 +
samples/astviewer.js | 98 ++
samples/barchart_weather.js | 116 ++
samples/call_lambda.js | 45 +
samples/counters.js | 10 +-
samples/dirname.js | 36 +
samples/disassemble.js | 75 +
samples/engine/README | 1 +
samples/engine/accessvar.js | 44 +
samples/engine/callfunc.js | 48 +
samples/engine/callmethod.js | 64 +
samples/engine/exposevar.js | 44 +
samples/engine/foreignobject.js | 71 +
samples/engine/hello.js | 41 +
samples/engine/interface.js | 60 +
samples/engine/interface2.js | 63 +
samples/engine/lambda_as_func.js | 49 +
samples/env.js | 43 +
samples/expression_closure.js | 41 +
samples/filebrowser.js | 100 ++
samples/fileline.js | 37 +
samples/fizzbuzz.js | 48 +
samples/for_each.js | 66 +
samples/gaussian_random.js | 46 +
samples/gaussian_random_bind.js | 48 +
samples/gutenberg.js | 142 ++
samples/heredoc.js | 51 +
samples/interface_impl.js | 48 +
samples/javaastviewer.js | 202 ++++
samples/javacastcounter.js | 107 ++
samples/javaimporter.js | 63 +
samples/javalist.js | 63 +
samples/javamap.js | 58 +
samples/javashell.js | 146 +++
samples/jsadapter_dom.js | 189 +++
samples/jsobject.js | 75 +
samples/jsobject_mapreduce.js | 62 +
samples/jsonviewer.js | 120 ++
samples/letter.js | 2 +
samples/list_mapreduce.js | 86 +
samples/locales.js | 58 +
samples/logisticmap.js | 82 +
samples/options.js | 37 +
samples/readLine.js | 38 +
samples/sam_function.js | 51 +
samples/shell.js | 59 +-
samples/stack.js | 55 +
samples/test.js | 1 -
samples/uniform_random.js | 49 +
samples/uniq.js | 47 +-
samples/uniqs.js | 48 +
samples/weather.js | 63 +
samples/word_histogram.js | 53 +
src/jdk/internal/dynalink/beans/BeanLinker.java | 2 +
src/jdk/nashorn/api/scripting/NashornScriptEngine.java | 90 +-
src/jdk/nashorn/api/scripting/ScriptObjectMirror.java | 3 +-
src/jdk/nashorn/api/scripting/package-info.java | 3 +-
src/jdk/nashorn/internal/codegen/CodeGenerator.java | 11 +-
src/jdk/nashorn/internal/codegen/Compiler.java | 37 +-
src/jdk/nashorn/internal/codegen/MapCreator.java | 4 +-
src/jdk/nashorn/internal/ir/annotations/Reference.java | 2 -
src/jdk/nashorn/internal/ir/debug/JSONWriter.java | 4 +-
src/jdk/nashorn/internal/objects/Global.java | 7 +
src/jdk/nashorn/internal/objects/NativeError.java | 14 +-
src/jdk/nashorn/internal/objects/NativeFunction.java | 5 +-
src/jdk/nashorn/internal/objects/NativeObject.java | 39 +-
src/jdk/nashorn/internal/objects/NativeRegExp.java | 6 +
src/jdk/nashorn/internal/objects/NativeUint8ClampedArray.java | 9 +
src/jdk/nashorn/internal/parser/Parser.java | 12 +
src/jdk/nashorn/internal/parser/TokenType.java | 2 +-
src/jdk/nashorn/internal/runtime/AccessorProperty.java | 38 +-
src/jdk/nashorn/internal/runtime/CodeInstaller.java | 12 +-
src/jdk/nashorn/internal/runtime/CodeStore.java | 179 +++
src/jdk/nashorn/internal/runtime/CompiledScript.java | 127 ++
src/jdk/nashorn/internal/runtime/Context.java | 224 +++-
src/jdk/nashorn/internal/runtime/DebuggerSupport.java | 65 +-
src/jdk/nashorn/internal/runtime/GlobalFunctions.java | 1 -
src/jdk/nashorn/internal/runtime/JSONFunctions.java | 6 +-
src/jdk/nashorn/internal/runtime/JSType.java | 4 +-
src/jdk/nashorn/internal/runtime/Property.java | 12 +-
src/jdk/nashorn/internal/runtime/PropertyMap.java | 54 +-
src/jdk/nashorn/internal/runtime/RecompilableScriptFunctionData.java | 105 +-
src/jdk/nashorn/internal/runtime/ScriptEnvironment.java | 8 +
src/jdk/nashorn/internal/runtime/ScriptFunctionData.java | 10 +-
src/jdk/nashorn/internal/runtime/ScriptObject.java | 75 +-
src/jdk/nashorn/internal/runtime/Source.java | 480 ++++++++-
src/jdk/nashorn/internal/runtime/UserAccessorProperty.java | 5 +
src/jdk/nashorn/internal/runtime/linker/Bootstrap.java | 14 +-
src/jdk/nashorn/internal/runtime/linker/JSObjectLinker.java | 19 +-
src/jdk/nashorn/internal/runtime/linker/JavaAdapterBytecodeGenerator.java | 19 +-
src/jdk/nashorn/internal/runtime/linker/NashornGuards.java | 15 +
src/jdk/nashorn/internal/runtime/linker/NashornStaticClassLinker.java | 6 +
src/jdk/nashorn/internal/runtime/regexp/JdkRegExp.java | 12 +-
src/jdk/nashorn/internal/runtime/regexp/JoniRegExp.java | 12 +-
src/jdk/nashorn/internal/runtime/regexp/joni/Analyser.java | 4 +-
src/jdk/nashorn/internal/runtime/regexp/joni/ApplyCaseFold.java | 70 +-
src/jdk/nashorn/internal/runtime/regexp/joni/ByteCodeMachine.java | 10 +-
src/jdk/nashorn/internal/runtime/regexp/joni/EncodingHelper.java | 83 +-
src/jdk/nashorn/internal/runtime/regexp/joni/Regex.java | 14 +-
src/jdk/nashorn/internal/runtime/regexp/joni/SearchAlgorithm.java | 2 +-
src/jdk/nashorn/internal/runtime/resources/Messages.properties | 1 +
src/jdk/nashorn/internal/runtime/resources/Options.properties | 15 +
src/jdk/nashorn/tools/Shell.java | 11 +-
test/script/basic/JDK-8008448.js | 1 +
test/script/basic/JDK-8024120.js | 4 -
test/script/basic/JDK-8024174.js | 2 +-
test/script/basic/JDK-8026161.js | 6 +-
test/script/basic/JDK-8026161.js.EXPECTED | 4 +-
test/script/basic/JDK-8027933.js | 38 +
test/script/basic/JDK-8027933.js.EXPECTED | 2 +
test/script/basic/JDK-8030199.js | 50 +
test/script/basic/JDK-8030199.js.EXPECTED | 14 +
test/script/basic/JDK-8030200.js | 36 +
test/script/basic/JDK-8030200.js.EXPECTED | 3 +
test/script/basic/JDK-8030202.js | 57 +
test/script/basic/JDK-8030202.js.EXPECTED | 22 +
test/script/basic/JDK-8039387.js | 39 +
test/script/basic/JDK-8039387.js.EXPECTED | 4 +
test/script/basic/JDK-8041998.js | 52 +
test/script/basic/JDK-8041998.js.EXPECTED | 4 +
test/script/basic/JDK-8042364.js | 65 +
test/script/basic/JDK-8042364.js.EXPECTED | 5 +
test/script/basic/JDK-8043930.js | 37 +
test/script/basic/JDK-8043930.js.EXPECTED | 1 +
test/script/basic/JDK-8044520.js | 145 +++
test/script/basic/JDK-8044612.js | 37 +
test/script/basic/JDK-8044695.js | 37 +
test/script/basic/JDK-8044750.js | 53 +
test/script/basic/NASHORN-173.js.EXPECTED | 2 +-
test/script/basic/list.js | 2 +-
test/script/basic/list.js.EXPECTED | 2 +-
test/script/error/JDK-8027933.js | 31 +
test/script/error/JDK-8027933.js.EXPECTED | 3 +
test/script/nosecurity/JDK-8044798.js | 159 +++
test/script/nosecurity/JDK-8044798.js.EXPECTED | 104 ++
test/script/nosecurity/debuggersupportapi.js | 94 +
test/script/nosecurity/debuggersupportapi.js.EXPECTED | 22 +
test/script/nosecurity/nosecurity.js | 34 +
test/script/trusted/JDK-8006529.js | 4 +-
test/src/jdk/nashorn/api/scripting/ScopeTest.java | 17 +
test/src/jdk/nashorn/api/scripting/ScriptObjectMirrorTest.java | 29 +
test/src/jdk/nashorn/internal/codegen/CompilerTest.java | 9 +-
test/src/jdk/nashorn/internal/parser/ParserTest.java | 8 +-
test/src/jdk/nashorn/internal/runtime/CodeStoreAndPathTest.java | 159 +++
test/src/jdk/nashorn/internal/runtime/ContextTest.java | 3 +-
test/src/jdk/nashorn/internal/runtime/NoPersistenceCachingTest.java | 135 ++
test/src/jdk/nashorn/internal/runtime/SourceTest.java | 128 ++
test/src/jdk/nashorn/internal/runtime/TrustedScriptEngineTest.java | 15 +
test/src/jdk/nashorn/internal/test/framework/SharedContextEvaluator.java | 4 +-
test/src/jdk/nashorn/test/models/IntFloatOverloadSelection.java | 36 +
test/src/jdk/nashorn/test/models/SourceHelper.java | 2 +-
160 files changed, 6905 insertions(+), 529 deletions(-)
diffs (truncated from 9941 to 500 lines):
diff -r fdcdffd5b5b1 -r ef23d8dd7745 .hgtags
--- a/.hgtags Thu Apr 10 15:28:48 2014 -0700
+++ b/.hgtags Fri Aug 29 16:52:54 2014 +0100
@@ -258,6 +258,20 @@
bc23b19e08eb1575663044902b6442ceaafa924f jdk8u5-b11
18b007062905dac9304605955a4b84eaf2a08553 jdk8u5-b12
e4fb85d69d6b33c9561b932ec5515f44c53c1017 jdk8u5-b13
+53cc5fda790e0f90dca53fb459c70517d76680bc jdk8u5-b31
+53cc5fda790e0f90dca53fb459c70517d76680bc jdk8u11-b01
+4dda2b1e51aa7977f53c261f983230fe505bbc3e jdk8u11-b02
+161f144c4e84037f655a2f6ebb0ba3057e8b18fa jdk8u11-b03
+2842beaa5db81731abe9d895181fbfceef720cf3 jdk8u11-b04
+7001e9f95b443a75e432205a29974c05b88e0fdc jdk8u11-b05
+daa414a4d8b712584d0818fab3fd31996e4cb645 jdk8u11-b06
+d9d482948b7c89161887b47e68e3367663d51b76 jdk8u11-b07
+a392513941025e2750acdcc45f9df2ec9080bde9 jdk8u11-b08
+dec6999877f39d3c17f7a092d8e2e17b676bb34b jdk8u11-b09
+d522ff5f53730cabd02c1863bb9d437c13bcc5e0 jdk8u11-b10
+3175dcbdd76ee9272276fa756247203dffb20596 jdk8u11-b11
+eea7f92c5fcc95310a6d946300ea47ac3e302cfe jdk8u11-b12
+b2c8eadc494bd32ed47d15d02cf942a8bd92c57f jdk8u11-b31
43a1183d2ab0ee3dbffd8bc47606e88dbe0c6116 jdk8u20-b02
9d69311869d513deecfebe767cc5f01502c9c01e jdk8u20-b03
e70dd55986e085185d976f2a78843a7d7eb87afd jdk8u20-b04
@@ -269,3 +283,18 @@
7e89db817ed094766a039762a8061c3a600c7284 jdk8u20-b07
2282c86cb1a954efd2fc5b7f22c173be19087c55 jdk8u20-b08
41f588adeb7a397d395233f00bd3402d0989934a jdk8u20-b09
+fdcdffd5b5b1eb7d442096433d17466f023207f1 icedtea-3.0.0pre01
+fdcdffd5b5b1eb7d442096433d17466f023207f1 jdk8u20-b10
+c116e9229e096ffe841f2b4f79067378288d0d1d jdk8u20-b11
+c720454d2435be052fd941a789ece9468d1e8f74 jdk8u20-b12
+2ca464cf3093444f73e27ace78993629d2f15cb9 jdk8u20-b13
+2f6add5fefb37cfeeb9a7745e7144f0b6d96bbea jdk8u20-b14
+bb2d116675479fb2c9deaeeab6d4c41d41060693 jdk8u20-b15
+c89a4945404ce80e26cb94c90fc13adad6b114bf jdk8u20-b16
+046bf6509a1f3fcf8c9c8b5d09beec0400f704d1 jdk8u20-b17
+847387339a561e50353c0805a54ec14eca256d2a jdk8u20-b18
+b047df215de40cb8a87ff1e2bac0b57bb9e2e121 jdk8u20-b19
+ed3439dca4a73a2dd4a284f3457f0af216a3eb55 jdk8u20-b20
+f2925491b61b22ac42f8c30ee9c6723ffa401a4c jdk8u20-b21
+5332595fe7ba2a1fc5564cc2689f378b04a56eb4 jdk8u20-b22
+2a866ca13bc68da2a70f200002797b2bea432c68 icedtea-3.0.0pre02
diff -r fdcdffd5b5b1 -r ef23d8dd7745 .jcheck/conf
--- a/.jcheck/conf Thu Apr 10 15:28:48 2014 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-project=jdk8
-bugids=dup
diff -r fdcdffd5b5b1 -r ef23d8dd7745 make/build.xml
--- a/make/build.xml Thu Apr 10 15:28:48 2014 -0700
+++ b/make/build.xml Fri Aug 29 16:52:54 2014 +0100
@@ -193,14 +193,16 @@
</jar>
</target>
- <target name="javadoc" depends="prepare">
- <javadoc destdir="${dist.javadoc.dir}" use="yes" overview="src/overview.html" windowtitle="${nashorn.product.name} ${nashorn.version}" additionalparam="-quiet" failonerror="true">
+ <target name="javadoc" depends="jar">
+ <javadoc destdir="${dist.javadoc.dir}" use="yes" overview="src/overview.html"
+ extdirs="${nashorn.ext.path}" windowtitle="${nashorn.product.name} ${nashorn.version}"
+ additionalparam="-quiet" failonerror="true">
<classpath>
<pathelement location="${build.classes.dir}"/>
</classpath>
<fileset dir="${src.dir}" includes="**/*.java"/>
<fileset dir="${jdk.asm.src.dir}" includes="**/*.java"/>
- <link href="http://docs.oracle.com/javase/7/docs/api/"/>
+ <link href="http://docs.oracle.com/javase/8/docs/api/"/>
<!-- The following tags are used only in ASM sources - just ignore these -->
<tag name="label" description="label tag in ASM sources" enabled="false"/>
<tag name="linked" description="linked tag in ASM sources" enabled="false"/>
@@ -208,6 +210,19 @@
</javadoc>
</target>
+ <!-- generate javadoc only for nashorn extension api classes -->
+ <target name="javadocapi" depends="jar">
+ <javadoc destdir="${dist.javadoc.dir}" use="yes" extdirs="${nashorn.ext.path}"
+ windowtitle="${nashorn.product.name}" additionalparam="-quiet" failonerror="true">
+ <classpath>
+ <pathelement location="${build.classes.dir}"/>
+ </classpath>
+ <fileset dir="${src.dir}" includes="jdk/nashorn/api/**/*.java"/>
+ <link href="http://docs.oracle.com/javase/8/docs/api/"/>
+ </javadoc>
+ </target>
+
+
<!-- generate shell.html for shell tool documentation -->
<target name="shelldoc" depends="jar">
<java classname="${nashorn.shell.tool}" dir="${basedir}" output="${dist.dir}/shell.html" failonerror="true" fork="true">
@@ -336,22 +351,58 @@
<echo message="WARNING: TestNG not available, will not run tests. Please copy testng.jar under test/lib directory."/>
</target>
- <target name="test" depends="jar, check-testng, check-external-tests, compile-test, generate-policy-file" if="testng.available">
- <fileset id="test.classes" dir="${build.test.classes.dir}">
- <include name="**/api/javaaccess/*Test.class"/>
- <include name="**/api/scripting/*Test.class"/>
- <include name="**/codegen/*Test.class"/>
- <include name="**/parser/*Test.class"/>
- <include name="**/runtime/*Test.class"/>
- <include name="**/runtime/regexp/*Test.class"/>
- <include name="**/runtime/regexp/joni/*Test.class"/>
- <include name="**/framework/*Test.class"/>
+ <!-- only to be invoked as dependency of "test" target -->
+ <target name="-test-classes-all" depends="jar" unless="test.class">
+ <fileset id="test.classes" dir="${build.test.classes.dir}">
+ <include name="**/api/javaaccess/*Test.class"/>
+ <include name="**/api/scripting/*Test.class"/>
+ <include name="**/codegen/*Test.class"/>
+ <include name="**/parser/*Test.class"/>
+ <include name="**/runtime/*Test.class"/>
+ <include name="**/runtime/regexp/*Test.class"/>
+ <include name="**/runtime/regexp/joni/*Test.class"/>
+ <include name="**/framework/*Test.class"/>
+ </fileset>
+ </target>
+
+ <!-- only to be invoked as dependency of "test" target -->
+ <target name="-test-classes-single" depends="jar" if="test.class">
+ <fileset id="test.classes" dir="${build.test.classes.dir}">
+ <include name="${test.class}*"/>
+ </fileset>
+ </target>
+
+ <!-- only to be invoked as dependency of "test" target -->
+ <target name="-test-nosecurity" unless="test.class">
+ <fileset id="test.nosecurity.classes" dir="${build.test.classes.dir}">
+ <include name="**/framework/ScriptTest.class"/>
</fileset>
+ <testng outputdir="${build.nosecurity.test.results.dir}" classfilesetref="test.nosecurity.classes"
+ verbose="${testng.verbose}" haltonfailure="true" useDefaultListeners="false" listeners="${testng.listeners}" workingDir="${basedir}">
+ <jvmarg line="${ext.class.path}"/>
+ <jvmarg line="${run.test.jvmargs} -Xmx${run.test.xmx}"/>
+ <propertyset>
+ <propertyref prefix="nashorn."/>
+ </propertyset>
+ <propertyset>
+ <propertyref prefix="test-sys-prop-no-security."/>
+ <mapper from="test-sys-prop-no-security.*" to="*" type="glob"/>
+ </propertyset>
+ <classpath>
+ <pathelement path="${run.test.classpath}"/>
+ </classpath>
+ </testng>
+ </target>
+ <!-- only to be invoked as dependency of "test" target -->
+ <target name="-test-security">
+ <delete dir="${build.dir}/nashorn_code_cache"/>
+ <property name="debug.test.jvmargs" value=""/>
<testng outputdir="${build.test.results.dir}" classfilesetref="test.classes"
verbose="${testng.verbose}" haltonfailure="true" useDefaultListeners="false" listeners="${testng.listeners}" workingDir="${basedir}">
<jvmarg line="${ext.class.path}"/>
<jvmarg line="${run.test.jvmargs} -Xmx${run.test.xmx} ${run.test.jvmsecurityargs}"/>
+ <jvmarg line="${debug.test.jvmargs}"/>
<propertyset>
<propertyref prefix="test-sys-prop."/>
<mapper from="test-sys-prop.*" to="*" type="glob"/>
@@ -363,6 +414,8 @@
</testng>
</target>
+ <target name="test" depends="jar, -test-classes-all,-test-classes-single, check-testng, check-external-tests, compile-test, generate-policy-file, -test-security, -test-nosecurity" if="testng.available"/>
+
<target name="test-basicparallel" depends="jar, check-testng, check-external-tests, compile-test, generate-policy-file">
<!-- use just build.test.classes.dir to avoid referring to TestNG -->
<java classname="${parallel.test.runner}" dir="${basedir}" classpath="${build.test.classes.dir}" failonerror="true" fork="true">
diff -r fdcdffd5b5b1 -r ef23d8dd7745 make/nbproject/ide-file-targets.xml
--- a/make/nbproject/ide-file-targets.xml Thu Apr 10 15:28:48 2014 -0700
+++ b/make/nbproject/ide-file-targets.xml Fri Aug 29 16:52:54 2014 +0100
@@ -22,38 +22,14 @@
questions.
-->
<project basedir=".." name="nashorn-IDE">
- <property file="nbproject/nbjdk.properties"/>
- <property location="${netbeans.user}/build.properties" name="user.properties.file"/>
- <property file="${user.properties.file}"/>
- <import file="jdk.xml"/>
- <import file="${basedir}/build-init.xml"/>
- <!-- TODO: edit the following target according to your needs -->
- <!-- (more info: http://www.netbeans.org/kb/articles/freeform-config.html#runsingle) -->
- <target depends="-jdk-init, init" name="debug-selected-file-in-src">
- <fail unless="debug.class">Must set property 'debug.class'</fail>
- <ant antfile="build.xml" inheritall="false" target="jar"/>
+ <target name="debug-selected-file-in-src">
+ <fail unless="test.class">Must set property 'debug.class'</fail>
<nbjpdastart addressproperty="jpda.address" name="nashorn" transport="dt_socket">
<classpath path="${run.test.classpath}"/>
</nbjpdastart>
- <java classname="${debug.class}" fork="false">
- <classpath path="${run.test.classpath}"/>
- <jvmarg line="${boot.class.path}"/>
- <jvmarg value="-Xdebug"/>
- <jvmarg value="-Xrunjdwp:transport=dt_socket,address=${jpda.address}"/>
- <jvmarg line="${run.test.jvmargs}"/>
- <arg value="${debug.class}"/>
- </java>
- </target>
- <!-- TODO: edit the following target according to your needs -->
- <!-- (more info: http://www.netbeans.org/kb/articles/freeform-config.html#runsingle) -->
- <target depends="-jdk-init, init" name="run-selected-file-in-src">
- <fail unless="run.class">Must set property 'run.class'</fail>
- <ant antfile="build.xml" inheritall="false" target="jar"/>
- <java classname="${run.class}" failonerror="true" fork="false">
- <classpath path="${run.test.classpath}"/>
- <jvmarg line="${boot.class.path}"/>
- <jvmarg line="${run.test.jvmargs}"/>
- <arg value="${run.class}"/>
- </java>
+ <ant antfile="build.xml" inheritall="false" target="test">
+ <property name="test.class" value="${test.class}"/>
+ <property name="debug.test.jvmargs" value="-Xrunjdwp:transport=dt_socket,address=${jpda.address}"/>
+ </ant>
</target>
</project>
diff -r fdcdffd5b5b1 -r ef23d8dd7745 make/nbproject/project.xml
--- a/make/nbproject/project.xml Thu Apr 10 15:28:48 2014 -0700
+++ b/make/nbproject/project.xml Fri Aug 29 16:52:54 2014 +0100
@@ -98,27 +98,27 @@
<script>nbproject/nbjdk.xml</script>
<target>debug-nb</target>
</action>
- <action name="debug.single">
- <script>nbproject/ide-file-targets.xml</script>
- <target>debug-selected-file-in-src</target>
+ <action name="run.single">
+ <script>build.xml</script>
+ <target>test</target>
<context>
- <property>debug.class</property>
- <folder>test/src</folder>
+ <property>test.class</property>
+ <folder>../test/src</folder>
<pattern>\.java$</pattern>
- <format>java-name</format>
+ <format>relative-path-noext</format>
<arity>
<one-file-only/>
</arity>
</context>
</action>
- <action name="run.single">
+ <action name="debug.single">
<script>nbproject/ide-file-targets.xml</script>
- <target>run-selected-file-in-src</target>
+ <target>debug-selected-file-in-src</target>
<context>
- <property>run.class</property>
- <folder>test/src</folder>
+ <property>test.class</property>
+ <folder>../test/src</folder>
<pattern>\.java$</pattern>
- <format>java-name</format>
+ <format>relative-path-noext</format>
<arity>
<one-file-only/>
</arity>
diff -r fdcdffd5b5b1 -r ef23d8dd7745 make/project.properties
--- a/make/project.properties Thu Apr 10 15:28:48 2014 -0700
+++ b/make/project.properties Fri Aug 29 16:52:54 2014 +0100
@@ -59,6 +59,7 @@
# test results directory
build.test.results.dir=${build.dir}/test/reports
+build.nosecurity.test.results.dir=${build.dir}/test/nosecurity/reports
# This directory is removed when the project is cleaned:
dist.dir=dist
@@ -110,6 +111,7 @@
# test scripts to run
test.dir=test
+test.nosecurity.dir=test/script/nosecurity
test.script.dir=test/script
test.basic.dir=test/script/basic
test.maptests.dir=test/script/maptests
@@ -127,8 +129,12 @@
test-sys-prop.es5conform.testcases.dir=${test.external.dir}/ES5Conform/TestCases
test-sys-prop.test.basic.dir=${test.basic.dir}
+test-sys-prop-no-security.test.dir=${test.dir}
+test-sys-prop-no-security.test.js.roots=${test.nosecurity.dir}
+
# framework root for our script tests
test-sys-prop.test.js.framework=${test.script.dir}/assert.js
+test-sys-prop-no-security.test.js.framework=${test.script.dir}/assert.js
# Control the verbosity of ParserTest
test-sys-prop.parsertest.verbose=false
@@ -245,7 +251,7 @@
test.src.dir=test/src
# -Xmx is used for all tests, -Xms only for octane benchmark
-run.test.xmx=3G
+run.test.xmx=2G
run.test.xms=2G
run.test.user.language=tr
diff -r fdcdffd5b5b1 -r ef23d8dd7745 samples/BufferArray.java
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/samples/BufferArray.java Fri Aug 29 16:52:54 2014 +0100
@@ -0,0 +1,110 @@
+/*
+ * Copyright (c) 2014, 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.
+ */
+
+import jdk.nashorn.api.scripting.AbstractJSObject;
+import java.nio.DoubleBuffer;
+
+/**
+ * Simple class demonstrating pluggable script object
+ * implementation. By implementing jdk.nashorn.api.scripting.JSObject
+ * (or extending AbstractJSObject which implements it), you
+ * can supply a friendly script object. Nashorn will call
+ * 'magic' methods on such a class on 'obj.foo, obj.foo = 33,
+ * obj.bar()' etc. from script.
+ *
+ * In this example, Java nio DoubleBuffer object is wrapped
+ * as a friendly script object that provides indexed acces
+ * to buffer content and also support array-like "length"
+ * readonly property to retrieve buffer's capacity. This class
+ * also demonstrates a function valued property called "buf".
+ * On 'buf' method, we return the underlying nio buffer object
+ * that is being wrapped.
+ */
+public class BufferArray extends AbstractJSObject {
+ // underlying nio buffer
+ private final DoubleBuffer buf;
+
+ public BufferArray(int size) {
+ buf = DoubleBuffer.allocate(size);
+ }
+
+ public BufferArray(DoubleBuffer buf) {
+ this.buf = buf;
+ }
+
+ // called to check if indexed property exists
+ @Override
+ public boolean hasSlot(int index) {
+ return index > 0 && index < buf.capacity();
+ }
+
+ // get the value from that index
+ @Override
+ public Object getSlot(int index) {
+ return buf.get(index);
+ }
+
+ // set the value at that index
+ @Override
+ public void setSlot(int index, Object value) {
+ buf.put(index, ((Number)value).doubleValue());
+ }
+
+ // do you have a property of that given name?
+ @Override
+ public boolean hasMember(String name) {
+ return "length".equals(name) || "buf".equals(name);
+ }
+
+ // get the value of that named property
+ @Override
+ public Object getMember(String name) {
+ switch (name) {
+ case "length":
+ return buf.capacity();
+ case "buf":
+ // return a 'function' value for this property
+ return new AbstractJSObject() {
+ @Override
+ public Object call(Object thiz, Object... args) {
+ return BufferArray.this.buf;
+ }
+
+ // yes, I'm a function !
+ @Override
+ public boolean isFunction() {
+ return true;
+ }
+ };
+ }
+ return null;
+ }
+}
diff -r fdcdffd5b5b1 -r ef23d8dd7745 samples/CastExample.java
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/samples/CastExample.java Fri Aug 29 16:52:54 2014 +0100
@@ -0,0 +1,38 @@
+/*
+ * Copyright (c) 2014, 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.
+ */
+
+// Simple java example with type casts.
+// see javacastcounter.js.
+
+class CastExample {
+ public final static int I = (int)23.33;
+ public final String str = (String)"hello";
+}
diff -r fdcdffd5b5b1 -r ef23d8dd7745 samples/README
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/samples/README Fri Aug 29 16:52:54 2014 +0100
@@ -0,0 +1,1 @@
+Simple Nashorn examples that can be run with "jjs" tool.
diff -r fdcdffd5b5b1 -r ef23d8dd7745 samples/array_mapreduce.js
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/samples/array_mapreduce.js Fri Aug 29 16:52:54 2014 +0100
@@ -0,0 +1,78 @@
+/*
+ * Copyright (c) 2014, 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.
+ */
+
+// Usage: jjs array_mapreduce.js
+
+// Many Array.prototype functions such as map,
More information about the distro-pkg-dev
mailing list