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

jshell tool: re-execute a range and/or sequence of snippets

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 10
    • Component/s: tools
    • Subcomponent:
    • Resolved In Build:
      b09

      Description

      Paul Deitel writes --

      It would be nice to be able to re-execute a range of snippets with

      /#-#

      so,

      /1-3

      would re-execute snippets 1, 2 and 3. Or, if snippet 2 had been dropped, it would re-execute snippets 1 and 3.


      Robert writes --

      Additionally, being able to specify a sequence of snippets and ranges of snippets would be even more powerful:

      /4 7-9 3 12-20

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rfield Robert Field
              Reporter:
              rfield Robert Field
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: