OpenJDK-6-jre freezes on simple midi app, sun JRE does not
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenJDK |
Fix Released
|
Medium
|
|||
openjdk-6 (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Hardy |
Won't Fix
|
Medium
|
Unassigned | ||
Intrepid |
Invalid
|
Medium
|
Unassigned |
Bug Description
Binary package hint: openjdk-6-jre
Ubuntu Intrepid Alpha6 8.10 updated as of Sunday, September 28th
OpenJDK version 6b12~pre1-0ubuntu3
When running a simple app that gets a Sequencer object and exits, OpenJDK will create the object and not exit while sun-java6-jre (version 6-07-4ubuntu2) creates the object and properly exits. The proper behavior is the one Sun's java exhibits.
Sample program (also attached):
import javax.sound.midi.*;
public class MusicTest1 {
public void play() {
try {
} catch(MidiUnava
}
}
public static void main(String[] args) {
MusicTest1 mt = new MusicTest1();
mt.play();
}
}
Related branches
Changed in openjdk: | |
status: | Unknown → Confirmed |
Changed in openjdk: | |
status: | Confirmed → Fix Released |
Changed in openjdk-6: | |
status: | New → In Progress |
status: | New → In Progress |
importance: | Undecided → Medium |
Changed in openjdk-6: | |
importance: | Undecided → Medium |
Changed in openjdk: | |
importance: | Unknown → Medium |
Changed in openjdk-6 (Ubuntu Hardy): | |
status: | In Progress → Won't Fix |
Independent auf pulseaudio
When running a simple app that gets a Sequencer object and exits, OpenJDK will create the object and not exit while sun-java6-jre (version 6-07-4ubuntu2) creates the object and properly exits. The proper behavior is the one Sun's java exhibits.
Sample program (also attached):
import javax.sound.midi.*;
public class MusicTest1 {
public void play() {
try {
Sequencer sequencer = MidiSystem. getSequencer( );
System. out.println( "Successfully got a sequencer"); ilableException ex) {
System. out.println( "Bummer" );
} catch(MidiUnava
}
}
public static void main(String[] args) {
System. out.println( "After play");
MusicTest1 mt = new MusicTest1();
mt.play();
}
}