[jboss-osgi-issues] [JBoss JIRA] Created: (JBOSGI-137) Cannot parse Bundle-SymbolicName
Thomas Diesler (JIRA)
jira-events at lists.jboss.org
Tue Aug 25 16:19:36 EDT 2009
Cannot parse Bundle-SymbolicName
--------------------------------
Key: JBOSGI-137
URL: https://jira.jboss.org/jira/browse/JBOSGI-137
Project: JBoss OSGi
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Core
Reporter: Thomas Diesler
Fix For: Framework 1.0.0 Alpha1
The AbstractOSGiMetaData.parseSymbolicName() cannot always parse the symbolic name
Currently there is a hack in place falls back to the main attribute
public String getBundleSymbolicName()
{
String symbolicName = null;
ParameterizedAttribute parameters = parseSymbolicName();
if (parameters != null)
symbolicName = parameters.getAttribute();
// [TODO] Remove this fall back
if (symbolicName == null)
symbolicName = getMainAttribute(Constants.BUNDLE_SYMBOLICNAME);
if (symbolicName == null)
throw new IllegalStateException("Cannot obtain " + Constants.BUNDLE_SYMBOLICNAME);
return symbolicName;
}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-osgi-issues
mailing list