Re: Is Node.jar to be single threaded and non-blocking like node.js?

2013-04-17 Thread Akhil Arora
Hi Darren, It is our intent to be compatible with Node.js APIs as much as possible. Akhil On 04/17/2013 07:21 AM, Darren Cruse wrote: It seems like node's big thing has been to argue for single-threaded non-blocking everything as it's default. Is the intent is to match node's semantics with N

hg: nashorn/jdk8/nashorn: 8012529: Remove -esa from testing jvmargs

2013-04-17 Thread james . laskey
Changeset: 04b36c02c0e2 Author:jlaskey Date: 2013-04-17 15:36 -0300 URL: http://hg.openjdk.java.net/nashorn/jdk8/nashorn/rev/04b36c02c0e2 8012529: Remove -esa from testing jvmargs Reviewed-by: sundar Contributed-by: james.las...@oracle.com ! make/project.properties

Re: spawn and sync for threads?

2013-04-17 Thread Jim Laskey (Oracle)
spawn is on the todo list, though the semantics may be slightly different (more secure.) On 2013-04-17, at 11:13 AM, Darren Cruse wrote: > I know that spawn and sync have been provided in the Rhino shell, but not > directly built into the Rhino javascript "language proper" (so to speak). > > W

Is Node.jar to be single threaded and non-blocking like node.js?

2013-04-17 Thread Darren Cruse
It seems like node's big thing has been to argue for single-threaded non-blocking everything as it's default. Is the intent is to match node's semantics with Node.jar, such that code would truly be portable between node.js and Node.jar? In my case I've also used and liked RingoJS which does use t

WARNING - nashorn forest unstable

2013-04-17 Thread Jim Laskey
Recent merge changes with JDK8/TL have caused some issues. Will let you know when things are corrected. -- Jim

spawn and sync for threads?

2013-04-17 Thread Darren Cruse
I know that spawn and sync have been provided in the Rhino shell, but not directly built into the Rhino javascript "language proper" (so to speak). Will nashorn likewise support spawn and sync in some fashion? Is the answer - like with Rhino - that it doesn't have to take a stance it's more for a

Re: Review request for JDK-8012462: Date.prototype.toJSON does not handle non-Date 'this' as per the spec.

2013-04-17 Thread Jim Laskey (Oracle)
+1 On 2013-04-17, at 9:55 AM, A. Sundararajan wrote: > Please review http://cr.openjdk.java.net/~sundar/8012462/ > > -Sundar

Review request for JDK-8012462: Date.prototype.toJSON does not handle non-Date 'this' as per the spec.

2013-04-17 Thread A. Sundararajan
Please review http://cr.openjdk.java.net/~sundar/8012462/ -Sundar

hg: nashorn/jdk8/nashorn: 2 new changesets

2013-04-17 Thread james . laskey
Changeset: 222a72df2f42 Author:mchung Date: 2013-04-16 22:11 -0700 URL: http://hg.openjdk.java.net/nashorn/jdk8/nashorn/rev/222a72df2f42 8010117: Annotate jdk caller sensitive methods with @sun.reflect.CallerSensitive Reviewed-by: jrose, alanb, twisti, sundar ! src/jdk/nashorn/api/

hg: nashorn/jdk8/langtools: 7 new changesets

2013-04-17 Thread james . laskey
Changeset: b26f36a7ae3b Author:mcimadamore Date: 2013-04-15 14:11 +0100 URL: http://hg.openjdk.java.net/nashorn/jdk8/langtools/rev/b26f36a7ae3b 8011383: Symbol.getModifiers omits ACC_ABSTRACT from interface with default methods Summary: Fixup for default method modifiers erroneousl

hg: nashorn/jdk8/jdk: 48 new changesets

2013-04-17 Thread james . laskey
Changeset: 4ed143ddbb8a Author:martin Date: 2013-04-15 14:07 -0700 URL: http://hg.openjdk.java.net/nashorn/jdk8/jdk/rev/4ed143ddbb8a 8008509: 6588413 changed JNIEXPORT visibility for GCC on HSX, jdk's jni_md.h needs similar change Summary: Define JNIEXPORT to use "default" visibili

hg: nashorn/jdk8/jaxp: 2 new changesets

2013-04-17 Thread james . laskey
Changeset: 10db50a26b39 Author:joehw Date: 2013-02-18 11:33 -0800 URL: http://hg.openjdk.java.net/nashorn/jdk8/jaxp/rev/10db50a26b39 6657673: Issues with JAXP Reviewed-by: alanb, lancea, ahgross, mullan ! src/com/sun/org/apache/bcel/internal/classfile/JavaClass.java ! src/com/sun/o

hg: nashorn/jdk8/hotspot: 2 new changesets

2013-04-17 Thread james . laskey
Changeset: 3d641132f83b Author:twisti Date: 2013-02-26 16:16 -0800 URL: http://hg.openjdk.java.net/nashorn/jdk8/hotspot/rev/3d641132f83b 8004336: Better handling of method handle intrinsic frames Reviewed-by: kvn, jrose, ahgross ! src/share/vm/opto/library_call.cpp Changeset: 124c

hg: nashorn/jdk8: 2 new changesets

2013-04-17 Thread james . laskey
Changeset: b95c5c8ee60a Author:jgish Date: 2013-04-16 13:25 -0400 URL: http://hg.openjdk.java.net/nashorn/jdk8/rev/b95c5c8ee60a 8011347: JKD-8009824 has broken webrev with some ksh versions Reviewed-by: mduigou ! make/scripts/webrev.ksh Changeset: 6316aefcf716 Author:jlaskey D

hg: nashorn/jdk8/nashorn: 8012457: Function.prototype.apply should accept any array-like argument for function arguments

2013-04-17 Thread sundararajan . athijegannathan
Changeset: 486d92559c37 Author:sundar Date: 2013-04-17 16:52 +0530 URL: http://hg.openjdk.java.net/nashorn/jdk8/nashorn/rev/486d92559c37 8012457: Function.prototype.apply should accept any array-like argument for function arguments Reviewed-by: lagergren, jlaskey ! src/jdk/nashorn

Review request for JDK-8012457: Function.prototype.apply should accept any array-like argument for function arguments

2013-04-17 Thread A. Sundararajan
Please review http://cr.openjdk.java.net/~sundar/8012457/ -Sundar