Class<?> fw = cl.loadClass(fwkClassName);
Constructor<?> c = fw.getConstructor(Map.class, List.class);
framework = (Framework) c.newInstance(p);
}
ThreadIOImpl threadio = new ThreadIOImpl();
<BUG>threadio.start();
OSGiShell shell = new OSGiShell();
shell.setThreadio(threadio);
shell.setBundle(framework);
shell.start();</BUG>
CommandSession session = shell.createSession(in, out, System.err);

Class<?> fw = cl.loadClass(fwkClassName);
Constructor<?> c = fw.getConstructor(Map.class, List.class);
framework = (Framework) c.newInstance(p);
}
ThreadIOImpl threadio = new ThreadIOImpl();
threadio.start();
CommandProcessorImpl shell = new CommandProcessorImpl(threadio);
CommandSession session = shell.createSession(in, out, System.err);
