JShell API: Snippet.Status CORRALLED/RECOVERABLE
Maurizio Cimadamore
maurizio.cimadamore at oracle.com
Wed Aug 19 10:35:53 UTC 2015
Seems like a nice improvement - I'd say the meaning of all states look
more direct now; thanks!
Maurizio
On 17/08/15 18:52, Robert Field wrote:
> See the new naming and spec for Status here:
> http://cr.openjdk.java.net/~rfield/doc/jdk/jshell/Snippet.Status.html#enum.constant.detail
>
>
> ALIVE_CORRALLED has become -> CORRALLED
> ALIVE_FAILED has become -> RECOVERABLE
>
> Brian suggests that these two are very close, they both represent the
> status of declaration snippets that have errors which are deemed
> recoverable with changes to the JShell state (e.g. symbols defined).
> They differ only in that CORRALLED is defined, and thus the
> declaration can be referenced by other snippets. To make clear their
> similarity, the suggestion is that they become:
>
> RECOVERABLE_DEFINED
> RECOVERABLE_NOT_DEFINED
>
> Yes?
> No?
> Thoughts?
>
> Thanks,
> Robert
>
More information about the kulla-dev
mailing list