diff options
author | Sven Gothel <[email protected]> | 2015-10-03 20:14:50 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2015-10-03 20:14:50 +0200 |
commit | 1dace826e127704c4058c684c993816581c31094 (patch) | |
tree | fe7783c16d4ebf01b5a2a1c54eab0438c84f5cc1 | |
parent | 45c96ce097e4b9f8d658d86205037135c7bd21d5 (diff) |
Bug 1237: Adopt GlueGen's clarification of IOUtil.getResource(..), commit d78bb1be0a6290cb94918b21865a023c01825048v2.3.2
-rw-r--r-- | src/test/com/jogamp/openal/test/resources/ResourceLocation.java | 2 |
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; } |