hg: nashorn/jdk9/nashorn: 8029332: Do not require nasgen-generated functions to return Object

2014-01-13 Thread sundararajan . athijegannathan
Changeset: 64ab63d26500 Author:sundar Date: 2014-01-13 18:13 +0530 URL: http://hg.openjdk.java.net/nashorn/jdk9/nashorn/rev/64ab63d26500 8029332: Do not require nasgen-generated functions to return Object Reviewed-by: lagergren, jlaskey, hannesw ! buildtools/nasgen/src/jdk/nashorn/

Re: RFR 8029332 Do not require nasgen-generated functions to return Object

2014-01-13 Thread Jim Laskey (Oracle)
+1 On Jan 13, 2014, at 8:40 AM, A. Sundararajan wrote: > Please review http://cr.openjdk.java.net/~sundar/8029332/ > > Thanks, > -Sundar

RFR 8029332 Do not require nasgen-generated functions to return Object

2014-01-13 Thread A. Sundararajan
Please review http://cr.openjdk.java.net/~sundar/8029332/ Thanks, -Sundar

Re: GC overhead limit exceeded

2014-01-13 Thread Stefan Karlsson
On 2014-01-09 16:29, Kirk Pepperdine wrote: Hi Marcus, Looks like some of the details have been chopped off. Is there a GC log available? If there is a problem with MethodHandle a work around might be a simple as expanding perm.. but wait, this is meta space now and it should grow as long as

Re: expose custome object or function to script environement

2014-01-13 Thread A. Sundararajan
You could use any of the following options: 1) Write a Java object with bean-style getters and getters - which can be used by scripts 'as is'. This is the most direct and simple way. Users can use "new" to create objects and use "obj.prop" to access/write to bean-properties and call public Ja

expose custome object or function to script environement

2014-01-13 Thread buddhi mihara
hi, i am writing a server side js language just like node.jswhat is the proper way to expose custom object just like NativeMath or custom constructor function just like Native Date to the script environment thank you