}
}
private void setBundleSymbolicName(Map<String, AttributeElement[]> attributes) throws RuntimeException {
try {
AttributeElement element = getMandatory(BUNDLE_SYMBOLICNAME, attributes, false)[0];
bundleSymbolicName = element.getValues().get(0);
} catch (RuntimeException e) {
// workaround for Knopflerfish system bundle
AttributeElement[] elements = getOptional(BUNDLE_NAME, attributes, false);
if (elements != null && KnopflerfishFrameworkStarter.KNOPFLERFISH_SYSTEM_BUNDLE_NAME.equals(elements[0].getValues().get(0))) {
bundleSymbolicName = KnopflerfishFrameworkStarter.KNOPFLERFISH_SYSTEM_BUNDLE_SYMBOLIC_NAME;