summaryrefslogtreecommitdiffstats
path: root/src/test/com/jogamp/openal/test/resources/ResourceLocation.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/com/jogamp/openal/test/resources/ResourceLocation.java')
-rw-r--r--src/test/com/jogamp/openal/test/resources/ResourceLocation.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/com/jogamp/openal/test/resources/ResourceLocation.java b/src/test/com/jogamp/openal/test/resources/ResourceLocation.java
index f872d1d..cd48ebd 100644
--- a/src/test/com/jogamp/openal/test/resources/ResourceLocation.java
+++ b/src/test/com/jogamp/openal/test/resources/ResourceLocation.java
@@ -64,7 +64,7 @@ public class ResourceLocation {
}
public static InputStream getInputStream(final String fileName, final boolean throwException) {
- final URLConnection conn = IOUtil.getResource(rl.getClass(), fileName);
+ final URLConnection conn = IOUtil.getResource(fileName, rl.getClass().getClassLoader(), rl.getClass());
if (conn == null) {
return null;
}