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

SPEC: AudioSystem.getAudioFileTypes() etc. should specify duplicate free result

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b26
    • CPU:
      generic
    • OS:
      generic

      Description

      It should be specified that the arrays returned by the following methods must not contain duplicates:
      javax.sound.midi.MidiSystem:
        getMidiFileTypes()
        getMidiFileTypes(Sequence)
      javax.sound.sampled.AudioSystem:
        getAudioFileTypes()
        getAudioFileTypes(AudioInputStream)
      This is the current behaviour as implemented in response to #4883060. However, for developers being able to rely on this, it has to be specified explicitly, so that the behaviour is mandatory for third-party implementations, too.
      ###@###.### 2003-10-23
      fixed

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              kpsmith Kevin Smith (Inactive)
              Reporter:
              duke J. Duke (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: