JShell API: clarify concurrency in the API javadocs

XMLWordPrintable

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

      It's not clear to me what if any methods on JShell are thread safe, except for JShell.stop. I see certain methods on JShellImpl are marked synchronized, implying there is potentially some concurrent activity.

      Can callback notifications occur on a different thread that registered the listener? same for unsubscribing a listener.

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

              Created:
              Updated:
              Resolved: