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

jjs history object should have methods to save/load history to/from given file and also allow reexecution of commands by a call

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P3
    • 9
    • 9
    • core-libs
    • None
    • b80
    • generic
    • generic

    Backports

      Description

        jshell supports feature to save history to a file and also supports /+n and /-n commands to re-execute historical commands.

        We could add history.save, history.load methods and make history as a function so that history(-n) or history(n) will be re-execution of historical command.

        Attachments

          Issue Links

            Activity

              People

                sundar Sundararajan Athijegannathan
                sundar Sundararajan Athijegannathan
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: