jdk.nashorn.api.scripting.jsObject call method error

buddhi mihara buddhi.mihara at live.com
Sun Dec 8 22:12:12 PST 2013


when i call jdk.nashorn.api.scripting.jsObject call method it does not get the parameters i passed with the functionbut when i tried the same function as constructor all the parameters are shown
eg : foo(1,2,3)       when i call this method and inside jsObject call method i set System.out.println(JsType.toString(objects[0]) it output null
       var k = new foo(1,2,3)       this prints 1 ; 		 	   		  


More information about the nashorn-dev mailing list