Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-3473

CliUtils#handleSigInt uses classes from sun.misc.*

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.3.7
    • 1.3.8, 1.4
    • upgrade
    • None

    Description

      CliUtils#handleSigInt() introduced with OAK-2171 uses sun.misc.Signal and sun.misc.SignalHandler to gracefully shut down after e.g. Ctrl+C.

      Instead of using internal and sun specific APIs, this should be implemented using a shutdown hook.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jsedding Julian Sedding
            jsedding Julian Sedding
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment