Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7902975

jcstress: JDK 17 cannot cleanly compile due to SecurityManager deprecation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • None
    • None
    • tools
    • None

      [INFO] -------------------------------------------------------------
      [WARNING] COMPILATION WARNING :
      [INFO] -------------------------------------------------------------
      [WARNING] /home/shade/trunks/shipilev-jcstress/jcstress-core/src/main/java/org/openjdk/jcstress/util/UnsafeHolder.java:[52,37] java.security.AccessController in java.security has been deprecated and marked for removal
      [INFO] 1 warning
      [INFO] -------------------------------------------------------------
      [INFO] -------------------------------------------------------------
      [ERROR] COMPILATION ERROR :
      [INFO] -------------------------------------------------------------
      [ERROR] /home/shade/trunks/shipilev-jcstress/jcstress-core/src/main/java/org/openjdk/jcstress/util/UnsafeHolder.java: warnings found and -Werror specified
      [INFO] 1 error

            shade Aleksey Shipilev
            shade Aleksey Shipilev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: