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

JShell: events are not generated for repeated source

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b114
    • Verification:
      Verified

      Description


      getState().eval("boolean b;");
      getState().eval("boolean b;"); <-- empty list.

      If the second snippet has additional space, events are generated.

        Attachments

          Activity

            People

            Assignee:
            rfield Robert Field
            Reporter:
            aeremeev Andrei Eremeev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: