JDK-4916365 : DOC: JCK1.5-runtime api/javax_sound/midi/... PitchBend fails
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.sound
  • Affected Version: 5.0
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic,windows_2000
  • CPU: generic,x86
  • Submitted: 2003-09-03
  • Updated: 2003-10-02
  • Resolved: 2003-10-02
Related Reports
Duplicate :  
Description

Name: vsR10238			Date: 09/03/2003


Filed By       : J2SE-SQA [###@###.###
JDK            : JDK1.5.0-b17 (passes using JDK1.5.0-b16, JDK1.4.2-b28 )
JCK            : JCK1.5-runtime (b02)
Platform[s]    : all
switch/Mode    : default
JCK test owner : http://javaweb.eng/jck/usr/owners.jto
Falling test[s]: 
        api/javax_sound/midi/MidiChannel/index.html#PitchBend [PitchBend001]
        api/javax_sound/midi/MidiChannel/index.html#Solo [Solo001]

Test source location:
=====================
/java/re/jck/1.5/promoted/latest/binaries/JCK-runtime-15/tests/api/javax_sound/midi/MidiChannel/PitchBendTests.java
/java/re/jck/1.5/promoted/latest/binaries/JCK-runtime-15/tests/api/javax_sound/midi/MidiChannel/SoloTests.java

jtr file location:
==================
/net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b17/jck15/linux/redhat_advserver21_gnome_smp_server_linux-24/workDir/api/javax_sound/midi/MidiChannel/index_PitchBend.jtr
/net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b17/jck15/linux/redhat_advserver21_gnome_smp_server_linux-24/workDir/api/javax_sound/midi/MidiChannel/index_Solo.jtr

How to reproduce:
=================
Run the following script (you may need to change its variables)
 
--- script start ---
#!/bin/bash

JCK="/java/re/jck/1.5/promoted/latest/binaries/JCK-runtime-15"
JDK="/java/re/jdk/1.5.0/promoted/latest/binaries/solaris-sparc"
CLASSPATH="$JCK/classes:$JCK/lib/javatest.jar"
 
$JDK/bin/java $switches -cp $CLASSPATH javasoft.sqe.tests.api.javax.sound.midi.MidiChannel.PitchBendTests -TestCaseID PitchBend001

--- script end ---

Test output:
============
getPitchBend() return wrong value:0
PitchBend001: Failed.
STATUS:Failed.test cases: 1; all failed; first test case failure: PitchBend001

Specific machine info:
======================
Hostname: linux-2
OS: Windows 2000 Pro
Hostname: linux-8
OS: Solaric 10
Hostname: linux-24
OS: RedHat Advanced Server 2.1 (Gnome)

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

Comments
PUBLIC COMMENTS DOC: JCK1.5-runtime api/javax_sound/midi/... PitchBend fails
10-06-2004

EVALUATION ###@###.### 2003-09-26 The specification should state that not all devices will allow querying the current value. Returning 0 is not unique, but practical, since existing programs would not expect a value outside the range specified for pitch bend. ###@###.### 2003-10-02 As discussed with the JCK team, close this bug as duplicate of the new bug that covers all partially documented methods in MidiChannel.
02-10-2003