From 1dace826e127704c4058c684c993816581c31094 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sat, 3 Oct 2015 20:14:50 +0200 Subject: Bug 1237: Adopt GlueGen's clarification of IOUtil.getResource(..), commit d78bb1be0a6290cb94918b21865a023c01825048 --- src/test/com/jogamp/openal/test/resources/ResourceLocation.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3