Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8344658

Deprecate for removal javax.sound.sampled.AudioPermission

XMLWordPrintable

    • Icon: CSR CSR
    • Resolution: Approved
    • Icon: P4 P4
    • 24
    • client-libs
    • None
    • source, behavioral
    • minimal
    • Mimimal risk - this is just the deprecation
    • Java API
    • SE

      Summary

      The class javax.sound.sampled.AudioPermission is deprecated for removal because it can no longer be used to control access since the Java SecurityManager is now permanently disabled.

      Problem

      The class javax.sound.sampled.AudioPermission is obsolete.

      Solution

      Deprecate the class for removal.

      Specification

      javax/sound/sampled/AudioPermission.java

        * @apiNote
        * This permission cannot be used for controlling access to resources
        * as the Security Manager is no longer supported.
      + * Consequently this class is deprecated and may be removed in a future release.
        *
        * @author Kara Kytle
        * @since 1.3
      + * @deprecated There is no replacement for this class.
        */
      +@Deprecated(since="24", forRemoval=true)
       public class AudioPermission extends BasicPermission {

            prr Philip Race
            prr Philip Race
            Alexander Zuev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: