diff --git a/jdk/src/share/classes/javax/sound/midi/MidiSystem.java b/jdk/src/share/classes/javax/sound/midi/MidiSystem.java index a03c91e086c..8faf6e30160 100644 --- a/jdk/src/share/classes/javax/sound/midi/MidiSystem.java +++ b/jdk/src/share/classes/javax/sound/midi/MidiSystem.java @@ -239,6 +239,12 @@ public class MidiSystem { * If a suitable MIDI port is not available, the Receiver is * retrieved from an installed synthesizer. * + *

If a native receiver provided by the default device does not implement + * the {@code MidiDeviceReceiver} interface, it will be wrapped in a + * wrapper class that implements the {@code MidiDeviceReceiver} interface. + * The corresponding {@code Receiver} method calls will be forwarded + * to the native receiver. + * *

If this method returns successfully, the {@link * javax.sound.midi.MidiDevice MidiDevice} the * Receiver belongs to is opened implicitly, if it is @@ -284,7 +290,13 @@ public class MidiSystem { * it is used to identify the device that provides the default transmitter. * For details, refer to the {@link MidiSystem class description}. * - * If this method returns successfully, the {@link + *

If a native transmitter provided by the default device does not implement + * the {@code MidiDeviceTransmitter} interface, it will be wrapped in a + * wrapper class that implements the {@code MidiDeviceTransmitter} interface. + * The corresponding {@code Transmitter} method calls will be forwarded + * to the native transmitter. + * + *

If this method returns successfully, the {@link * javax.sound.midi.MidiDevice MidiDevice} the * Transmitter belongs to is opened implicitly, if it * is not already open. It is possible to close an implicitly