Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-19293

Avoid Subject.getSubject method on newer JVMs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • auth, common
    • None

    Description

      In Java 23, Subject.getSubject requires setting the system property java.security.manager to allow, else it will throw an exception. More detail is available in the release notes: https://jdk.java.net/23/release-notes

      This is in support of the eventual removal of the security manager, at which point, Subject.getSubject will be removed.

      Attachments

        Issue Links

          Activity

            People

              jbrinegar Justin
              jbrinegar Justin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: