United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-4685414 : Spec: undefined behavior for Synthesizer.remapInstrument() method

Details
Type:
Bug
Submit Date:
2002-05-15
Status:
Closed
Updated Date:
2006-04-07
Project Name:
JDK
Resolved Date:
2006-04-07
Component:
client-libs
OS:
generic
Sub-Component:
javax.sound
CPU:
generic
Priority:
P3
Resolution:
Duplicate
Affected Versions:
1.4.1
Fixed Versions:

Related Reports
Duplicate:

Sub Tasks

Description
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.

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

                                    

Comments
EVALUATION

###@###.### 2002-05-15
	Fix targeted for Mantis.


###@###.### 2003-10-07
	Defer fixing of this bug until there is a fix for 4685396: method Synthesizer.remapInstrument() does not work.
                                     
2002-05-15
CONVERTED DATA

BugTraq+ Release Management Values

COMMIT TO FIX:
dragon


                                     
2004-06-14
EVALUATION

The bug has been fixed as part of fix for 4685396 (has been fixed in mustang b80)
closing as duplicate
                                     
2006-04-07



Hardware and Software, Engineered to Work Together