Commit 569d781c authored by Lionel Seinturier's avatar Lionel Seinturier
Browse files

Bug fix.

parent 8c8c2a6b
......@@ -44,6 +44,7 @@ import org.objectweb.fractal.juliac.api.ClassGeneratorItf;
import org.objectweb.fractal.juliac.api.MembraneLoaderItf;
import org.objectweb.fractal.juliac.api.RuntimeClassNotFoundException;
import org.objectweb.fractal.juliac.conf.JuliacConfig;
import org.objectweb.fractal.juliac.conf.JulietLoader;
import org.objectweb.fractal.juliac.conf.MembraneHelper;
import org.objectweb.fractal.juliac.desc.ComponentDesc;
import org.objectweb.fractal.juliac.opt.InitializerClassGenerator;
......@@ -313,8 +314,7 @@ public class TinfiParserSupportImpl implements ADLParserSupportItf {
Membrane mdef = cl.getAnnotation(Membrane.class);
controller = mdef.desc();
JuliacConfig jconf = jc.getJuliacConfig();
List<MembraneLoaderItf> mloaders =
jconf.lookup(MembraneLoaderItf.class);
List<JulietLoader> mloaders = jconf.lookup(JulietLoader.class);
for( MembraneLoaderItf mloader : mloaders ) {
/*
* Register the custom membrane definitions with all modules
......@@ -324,7 +324,7 @@ public class TinfiParserSupportImpl implements ADLParserSupportItf {
mloader.put(controller,cl);
}
catch( UnsupportedOperationException uoe ) {
// JuliaLoader#put throws UnsupportedOperationException
// MembraneLoader#put throws UnsupportedOperationException
}
}
}
......
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