Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-3821

SeededSecureRandom thread can prevent Jackrabbit from shutting down

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

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.9.1, 2.6.6, 2.8.1
    • None
    • None

    Description

      In SeededSecureRandom a SecureRandom is generated on a separate thread for performance reasons. However, this call may take a long time to return. See http://bugs.java.com/view_bug.do?bug_id=6521844 for details. The spawned thread must be a daemon thread to prevent it from stalling the shutdown process.

      Attachments

        Activity

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

          People

            unico@apache.org Unico Hommes
            unico@apache.org Unico Hommes
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment