R3 bundles are allowed to not have a symbolic name, so null is returned.

R4 bundles must have a symbolic name, so they cannot have null for a symbolic name (an R4 bundle has "Bundle-ManifestVersion: 2" in its manifest).

A symbolic name is not unique. Only symbolic name + bundle version must be unique.

-> richard

On 4/30/09 10:38 AM, Sahoo wrote:
The javadoc of Bundle.getSymbolicName() says the following:
    * The name must be unique,
    * it is recommended to use a reverse domain name naming convention
    * like that used for java packages. If this bundle does not have a
    * specified symbolic name then <code>null</code> is returned.


How can the name be unique when null is allowed as a valid value?

Thanks,
Sahoo

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to