I'm going to check this patch in today. It fixes a bug found while
writing a MIDI file reader.
Can this go into the GCC 4.1 branch?
AG
2006-07-01 Anthony Green <[EMAIL PROTECTED]>
* javax/sound/midi/Track.java (vector, eventSet): Initialize.
--- javax/sound/midi/Track.java.~1.2.~ 2006-06-14 07:14:26.000000000 -0700
+++ javax/sound/midi/Track.java 2006-07-01 13:59:27.000000000 -0700
@@ -54,10 +54,10 @@
/**
* The list of MidiEvents for this track.
*/
- Vector events;
+ Vector events = new Vector();
// A HashSet to speed processing
- private HashSet eventSet;
+ private HashSet eventSet = new HashSet();
// This is only instantiable within this package.
Track()