if (b != null) {
try {
stateController.assertResolved(b);
getLogger().info("OSGi bundle is resolved: " + b.getSymbolicName());
} catch (BundleException e) {
stateController.analyzeErrors(b);
if(getLogger().isDebugEnabled()) {
getLogger().debug(stateController.reportErrors(b));
}
// FIXME: For now, only a warning is reported
// throw new CompilerException(e.getMessage(), e);