JDK-7058697 : Unexpected exceptions in MID parser code
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
We continue trying tofix these P4s in JDK8 , but some of them might not be fixed in JDK8 due to lack of resources.
The commitment to fix them as soon as possible still confirmed. They are tracking on JDK8 client-libs dashboard permanently.
SoftMidiAudioFileReader.getAudioInputStream(Sequence seq) method handles "set tempo" meta message (0x51) which must contain 3 data bytes.
If the message is broken (and contains less than 3 data bytes) we get ArrayIndexOutOfBoundsException.
The reader should ensures input data is correct.