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

jshell tool: option to save only definitions

    XMLWordPrintable

Details

    Description

      When developing prototype code, expressions are frequently used to test.
      Since each expression is considered unique they build-up and just create noise in the saved snippets. Generally you don't want these re-executed on open.

      Add an option:

          /save -definitions <file>

      To save only definitions.


      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: