|
From: | timo dot lindfors at iki dot fi |
Subject: | [Bug classpath/28613] New: getMidiDeviceInfo() does abort() if /dev/snd/seq is missing |
Date: | 5 Aug 2006 20:30:35 -0000 |
Steps to reproduce: 1) Login to a machine without ALSA support and without /dev/snd/seq 2) Compile and run the attached testcase Expected results: 2) testcase should print "getMidiDeviceInfo returned 0 entries" since no midi devices are available. Actual results: 2) testcase prints the following: ALSA lib seq_hw.c:457:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory Aborted Testcase (also attached): import javax.sound.midi.*; public class testcase { public static void main(String[] args) { try { MidiDevice.Info[] info = MidiSystem.getMidiDeviceInfo(); System.out.println("getMidiDeviceInfo returned " + info.length + " entries"); } catch (Exception e) { e.printStackTrace(); } } } -- Summary: getMidiDeviceInfo() does abort() if /dev/snd/seq is missing Product: classpath Version: 0.91 Status: UNCONFIRMED Severity: normal Priority: P3 Component: classpath AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: timo dot lindfors at iki dot fi http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28613
[Prev in Thread] | Current Thread | [Next in Thread] |