If Bundle-ManifestVersion is not 2, i.e., it is a bundle for an R3 or
earlier framework, then it can return null. Symbolic name is required
for R4 or greater bundles, which implies that Bundle-ManifestVersion of
2 is also required for them. Neither existed prior to R4.|
On 7/30/09 1:08 PM, Don Laidlaw wrote:
have a quick question on the OSGi 4.1 specification.
In the specification, section 126.96.36.199 and section 3.5.2 both say that
the Bundle-SymbolicName header is required. But the documentation on
the org.osgi.framework.Bundle class says that getSymbolicName() may
return a null if no symbolic name is set.
Under what circumstances could getSymbolicName() ever return null if
the header is required? Is this perhaps to support old versions of the
spec where the Bundle-SymbolicName was not manditory?
Don Laidlaw | Sr. Research Engineer | Infor | office: +1 902-576-5185 | mobile: +1 902-401-6771 | don.laidlaw@xxxxxxxxx
equinox-dev mailing list