builtin function readFully() is not working

A. Sundararajan sundararajan.athijegannathan at oracle.com
Tue Dec 10 03:18:21 PST 2013


readFully is defined only in "scripting" mode.  If you are using 'jjs' 
tool, use

jjs -scripting yourscript.js

When you are using jsr223 API to access nashorn programmatically 
'scripting' mode is enabled by default.

-Sundar

On Tuesday 10 December 2013 04:40 PM, buddhi mihara wrote:
> global function readfully() is not working it is giving an error<shell>:1 ReferenceError: "readFully" is not defined
> thank you buddhi nipun  		 	   		



More information about the nashorn-dev mailing list