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

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

    XMLWordPrintable

Details

    • b114
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: