Hi all,

I have been running the Apache Felix Metatype Service implementation
through the OSGi CT and found an issue with the
MetaTypeProvider.getObjectClassDefinition method as used in the
testMetaTypeProvider test.

The method is defined in Section 105.13.4.2 in the R4.2 Compendium
specification to:

 * either return an ObjectClassDefinition for the requested id and
   locale
 * or throw an IllegalArgumentException if either id or the locale
   is invalid

Questions:

 (1) What does "invalid" mean for the "id" ?
     Is it "no object class definition with the given id exists" ?

 (2) What does "invalid" mean for the "locale" ?

FYI: I am using the org.osgi.test.cases.metatype-4.2.0.jar test library
with the Apache Felix framework and the Apache Felix Metatype Service
implementation for the tests.

Thanks and Regards
Felix
_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to