-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
1.4.1
-
generic
-
generic
Name: vtR10009 Date: 05/15/2002
Spec for Synthesizer.remapInstrument() from the package
javax.sound.midi does not declare conditions when this method
returns false:
" Remaps an instrument. Instrument to takes the place of instrument from.
For example, if from was located at bank number 2, program number 11,
remapping causes that bank and program location to be occupied instead
by to. Instrument from is unloaded.
Parameters:
from - instrument to be replaced
to - new instrument to be used in place of the old instrument
Returns:
true if the instrument could be remapped, false otherwise."
I think the spec should specify in more detail when this method may
return false since otherwise this may potentially lead to
incompatibilityof implementations.
======================================================================
Spec for Synthesizer.remapInstrument() from the package
javax.sound.midi does not declare conditions when this method
returns false:
" Remaps an instrument. Instrument to takes the place of instrument from.
For example, if from was located at bank number 2, program number 11,
remapping causes that bank and program location to be occupied instead
by to. Instrument from is unloaded.
Parameters:
from - instrument to be replaced
to - new instrument to be used in place of the old instrument
Returns:
true if the instrument could be remapped, false otherwise."
I think the spec should specify in more detail when this method may
return false since otherwise this may potentially lead to
incompatibilityof implementations.
======================================================================
- duplicates
-
JDK-4685396 method Synthesizer.remapInstrument() does not work
- Resolved