Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-16549

suppress the warnings from RemoteLogManager

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • None
    • 3.8.0
    • None
    • None

    Description

      /home/chia7712/project/kafka/core/src/main/java/kafka/log/remote/RemoteLogManager.java:234: warning: [removal] AccessController in java.security has been deprecated and marked for removal
      return java.security.AccessController.doPrivileged(new PrivilegedAction<RemoteStorageManager>() {
      ^
      /home/chia7712/project/kafka/core/src/main/java/kafka/log/remote/RemoteLogManager.java:256: warning: [removal] AccessController in java.security has been deprecated and marked for removal
      return java.security.AccessController.doPrivileged(new PrivilegedAction<RemoteLogMetadataManager>() {

      we should add @SuppressWarnings("removal") to those methods

      Attachments

        Issue Links

          Activity

            People

              charliecheng Charlie Cheng
              chia7712 Chia-Ping Tsai
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: