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

JShell API: Snippet.id() doc -- specify: no meaning, dynamic

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b114
    • Verification:
      Not verified

      Description


      jdk.jshell.Snippet
      > public java.lang.String id()
      >
      > The unique identifier for the snippet. No two active snippets will have the same id().

      I recommend at least explicitly making non-promises around this id. "Value of id has no prescribed meaning, can change run to run, can change from release to release, etc."

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rfield Robert Field
              Reporter:
              rfield Robert Field
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: