Hi Mef,
I would like to sincerely apologize if I was mistaken.
Regarding bug id 7095006 which you linked to, it is not a Java bug but an error in the submitter's own code. Perhaps you meant some other bug instead?
The code submitted in the bug report is supposed to play files of any audio format Java supports.
To play an audio file, you need to pass the file as a stream to Java.
Java will then take the list of audio format parsers it supports and try them one by one on the stream.
If a parser doesn't work, Java will reset the stream to its beginning and try it again on another parser till the list of parsers is exhausted.
The code in the bug report lacks the capability to let Java reset the stream to its beginning.
The only reason it worked in Java 6 is that coincidentally the first audio format parser in the list is the Wave format parser.
Hence, Java 6 did not not need to invoke the stream reset function. But even in Java 6, the code would have only worked on wave files and not on all Java supported audio formats like it was supposed to.
In Java 7, the order of the list of audio file parsers changed and the submitter's buggy code stopped working.
This is well documented by the Java API.
http://docs.oracle.com/javase/1.5.0/docs/api/javax/sound/sampled/AudioSystem.html#getAudioInputStream(java.io.InputStream)