JShell API: Snippet.Status CORRALLED / RECOVERABLE -> RECOVERABLE_DEFINED / RECOVERABLE_NOT_DEFINED

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 9-repo-kulla
    • Affects Version/s: 9-repo-kulla
    • Component/s: tools
    • None

      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

      On 08/19/15 03:35, Maurizio Cimadamore wrote:
      > Seems like a nice improvement - I'd say the meaning of all states look more direct now; thanks!

            Assignee:
            Robert Field (Inactive)
            Reporter:
            Robert Field (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: