Commit ce6f3306 authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

inserted getClassLoader() so it could locate resources

parent 69057bd5
......@@ -207,7 +207,7 @@ public class JCuda_ImageJ_Example_Plugin implements PlugInFilter
private static String readResourceAsString(String name)
{
InputStream inputStream =
JCuda_ImageJ_Example_Plugin.class.getResourceAsStream(name);
JCuda_ImageJ_Example_Plugin.class.getClassLoader().getResourceAsStream(name);
if (inputStream == null)
{
IJ.showMessage("Error",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment