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

JShell API: clarify concurrency in the API javadocs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9-repo-kulla
    • None
    • 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.

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

              Created:
              Updated:
              Resolved: