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

jshell tool: option to save only definitions

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: 9
    • Fix Version/s: tbd
    • Component/s: tools

      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

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

              Dates

              • Created:
                Updated: