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

RFE: Undefined security policy in midi

XMLWordPrintable

      Name: vtR10009 Date: 05/31/2002


      The specification for the MidiDevice.open() from the javax.sound.midi
      package does not declare security restrictions and permissions which are
      cause of SecurityException. I guess that javax.sound.sampled.AudioPermission
      may be used for this purpose. This should be explicitly declared in the spec.
      AudioPermission spec declares two target names "play" and "record". But
      some devices like sequencer should declare throwing SecurityException in the
      related method startRecording() when "record" permission is denied.

      This bug may lead to failure of new JCK test:
      api/javax_sound/midi/Sequencer/index.html#Record
      --------------------------------------------------------------------------
      ======================================================================

            amenkov Alex Menkov
            vitcsunw Vitc Vitc (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: