-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P3
-
Affects Version/s: 8
-
Component/s: core-libs
-
None
-
generic
-
generic
print function defined for shell tool ("jjs") in Global.java can handle multiple arguments:
jjs> print(34, 44, 55)
34 44 55
But 'print' function defined in engine.js for javax.script API implementation (jrunscript tool) prints only the first argument:
nashorn> print(34, 44, 55)
34
jjs> print(34, 44, 55)
34 44 55
But 'print' function defined in engine.js for javax.script API implementation (jrunscript tool) prints only the first argument:
nashorn> print(34, 44, 55)
34