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

Contradiction in Receiver specification

XMLWordPrintable

    • hopper
    • generic
    • generic



      Name: vtR10009 Date: 04/03/2002


        Specification for the method Receiver.send() from the package
      javax.sound.midi reads:
      "Throws: IllegalStateException - if the receiver is not open"

      But Receiver itself does not declare any behavior for opening.
      Actually IllegalStateException is thrown if the device
      associated with this receiver is not open. I think that spec
      should be corrected.

      ======================================================================

            fbomerssunw Florian Bomers (Inactive)
            vitcsunw Vitc Vitc (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: