Details
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."
Issue Links
- relates to
-
JDK-8153896
JShell API: Snippet.id() doc -- breaks make doc
-
-
JDK-8043364
JEP 222: jshell: The Java Shell (Read-Eval-Print Loop)
-


Value of id has no prescribed meaning. The details of
* how the id is generated and the mechanism to change it is documented in
* {@link JShell.Builder#idGenerator()}.