Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 4916365
Votes 0
Synopsis DOC: JCK1.5-runtime api/javax_sound/midi/... PitchBend fails
Category java:classes_sound
Reported Against tiger
Release Fixed
State 11-Closed, duplicate of 4931588, bug
Priority: 2-High
Related Bugs 4931588
Submit Date 03-SEP-2003
Description




Filed By       : J2SE-SQA [j2se-tck-  xxxxx@xxxxx  ]
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:  customer  Advanced Server 2.1 (Gnome)

======================================================================
Work Around
N/A
Evaluation
  xxxxx@xxxxx   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.


  xxxxx@xxxxx   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.
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang