Review request JDK-8007629 Remove extraneous quit from shell.js
Hannes Wallnoefer
hannes.wallnoefer at oracle.com
Wed Feb 6 07:59:28 PST 2013
I have some reservations against adding globals to the core language
itself (versus adding them just to the shell), but since we're already
doing this now with things like load() and print() I guess it should be
discussed independently.
Otherwise looks good to me.
Hannes
Am 2013-02-06 14:44, schrieb Jim Laskey (Oracle):
> Please review http://cr.openjdk.java.net/~jlaskey/8007629/webrev.00/index.html
>
> This solidifies quit and exit has always being available. quit is an alias for exit. Both accept an exit code. The assumption is that quit() will primarily be used for interactive sessions and that exit(0) will be used for shell scripting.
>
> Tests will follow with a more comprehensive shell scripting test bed.
>
>
More information about the nashorn-dev
mailing list