JShell EofException

Robert Field robert.field at oracle.com
Sat Jul 28 20:23:24 UTC 2018



On 07/28/18 12:57, John Rose wrote:
> On Jul 28, 2018, at 11:55 AM, Robert Field <robert.field at oracle.com 
> <mailto:robert.field at oracle.com>> wrote:
>>
>> Do you, by any chance, know what is being evaluated?
>
> You can reproduce easily with `System.exit(0)`.
>

The backtrace shouldn't occur with System.exit.  And I don't get that 
(do you?):

    % jshell
    |  Welcome to JShell -- Version 10.0.1
    |  For an introduction type: /help intro

    jshell> System.exit(0)
    |  State engine terminated.
    |  Restore definitions with: /reload -restore

    jshell>

-Robert



More information about the kulla-dev mailing list