Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8134125

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9-repo-kulla
    • 9-repo-kulla
    • 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!

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

              Created:
              Updated:
              Resolved: