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

jshell tool: allow non-zero /exit

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 10
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b33
    • CPU:
      generic
    • OS:
      generic

      Description

      In Jshell we don't have option to indicate unsucessful termination.
      This is useful if some one trying to launch jshell from script and he want to monitor the proper execution and exit based on condition.
      exit(0) equivalent in Jshell /exit
      exit(1) equivalent in Jshell ?

      This enhancement is to provide equivalent of exit(1)

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: