use context classloader, since u19+u20 broke the old impl

This commit is contained in:
Brian Matzon 2010-04-26 21:52:59 +00:00
parent 297612ffe0
commit 89c9c9a356
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ public class WaveData {
* @return WaveData containing data, or null if a failure occured
*/
public static WaveData create(String path) {
return create(WaveData.class.getClassLoader().getResource(path));
return create(Thread.currentThread().getContextClassLoader().getResource(path));
}
/**