<Sound Dev> JTreg SoftSynthesizer test failures on OpenJDK6 (build 19)
ptisnovs at redhat.com
Mon Apr 26 05:47:46 PDT 2010
I realized that some regression tests especially:
fails on OpenJDK6 (build 19) compiled using Gervill on RHEL 5 x86_64,
because these tests usually start with these sequence of commands:
AudioSynthesizer synth = new SoftSynthesizer();
Soundbank defsbk = synth.getDefaultSoundbank();
assertTrue(synth.getLoadedInstruments().length == 0); // **A**
synth.unloadAllInstruments(defsbk); // **B**
My question is whether the order of the last two commands marked by
**A** and **B** is correct. Command **A** check if there are no loaded
instruments and _then_ all instruments are unloaded (when this command
is executed, getLoadedInstruments().length is equal to zero, of course).
Btw the instruments are loaded in public method openStream, but even
after reading JavaDoc I'm not sure whether it is bug or no.
Any ideas please?
Thank you in advance
More information about the sound-dev