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: 4926594
Votes 0
Synopsis DOC: JCK1.5-runtime api/javax_sound/midi/MidiChannel/index.html#Pressure fails
Category java:classes_sound
Reported Against tiger
Release Fixed
State 11-Closed, duplicate of 4931588, bug
Priority: 2-High
Related Bugs 4289677 , 4931588
Submit Date 23-SEP-2003
Description




Filed By       : J2SE-SQA [j2se-tck-  xxxxx@xxxxx  ]
JDK            : JDK1.5.0-b20, JDK1.5.0-b19-share, JDK1.5.0-b19, JDK1.4.2-b28
JCK            : JCK1.5-runtime (b04)
Platform[s]    : any platform which has sound card installed
switch/Mode    : default
JCK test owner : http://javaweb.eng/jck/usr/owners.jto
Falling test[s]: api/javax_sound/midi/MidiChannel/index.html#Pressure [Pressure001, Pressure002, Pressure003]

JCK1.5-runtime api/javax_sound/midi/MidiChannel/index.html#Pressure test fails
with JDK1.5.0-b20, JDK1.4.2-b28 on any machine with sound installed. The test passes
on platforms without sound.

The test is in the latest JCK1.5(b04) known failure list because of the bug 4289677
closed as "will not fix".

This is a JCK conformance failure, so the test should be modified or the bug 4289677
should be fixed/integrated in tiger.

Please, re-categorize to jck/tck_j2se/api_tests category if it is needed.

Please, see bug 4289677 Evaluation for more details.

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

jtr file location:
==================
/net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b19s/jck15/sparc/sol10_sparc_cde_server_linux-8/workDir/api/javax_sound/midi/MidiChannel/index_Pressure.jtr

How to reproduce:
=================
Run the following script (you may need to change its variables):
--- script start ---
#!/bin/bash
#KOORI_ONESTOP is your path to koori.sfbay/onestop (/net/koori/onestop, /java/re)
KOORI_ONESTOP="/java/re"
#JCK="/net/linux-15/export/home/java/jck1.5/JCK-runtime-15"
JCK="$KOORI_ONESTOP/jck/1.5/promoted/beta/b04/binaries/JCK-runtime-15"
#JDK="/net/linux-15/export/home/java/jdk1.5.0/sparc"
JDK="$KOORI_ONESTOP/jdk/1.5.0/promoted/all/b19/binaries/solaris-sparc"
export CLASSPATH="$JCK/classes:$JCK/lib/javatest.jar"
$JDK/bin/java -showversion javasoft.sqe.tests.api.javax.sound.midi.MidiChannel.PressureTests                -TestCaseID Pressure001 Pressure002 Pressure003
--- script end ---

Test output:
============
java version "1.5.0-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta-b20)
Java HotSpot(TM) Client VM (build 1.5.0-beta-b20, mixed mode)

getChannelPressure() does not return proper value: 0
Pressure001: Failed.
getChannelPressure() does not return proper value: 0
Pressure002: Failed.
getPolyPressure() does not return proper value: 0
Pressure003: Failed.
STATUS:Failed.test cases: 3; all failed; first test case failure: Pressure001


Specific machine info:
======================
Hostname: linux-8
OS: Solaris 10 (sparc) (CDE)

======================================================================
Work Around
N/A
Evaluation
  xxxxx@xxxxx   2003-09-26
	Since some devices do not allow querying the current value, or setting such a value in the first place, the specification should mention that.

  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