Community
Participate
Working Groups
Build Identifier: The Metatype service is required to follow the same localization mechanism described in the core spec unless overriden by the 'localization' attribute of the <MetaData> element. The default base name for property files is "OSGI-INF/l10n/bundle'; however, the core spec allows this to be overridden with the Bundle-Localization manifest header. The current implementation always uses the default base name and does not inspect the header. Reproducible: Always
Created attachment 191865 [details] Proposed Patch This patch updates the Metatype implementation so that the Bundle-Localization manifest header, when specified, will override the default base name. It also adds a new test to compendium.tests.
I released a modified patch: - I created a static method for getting the bundle localization base - I change the call to Bundle.getHeaders() to Bundle.getHeaders("") because we want the raw value of the Bundle-Localization header. - I updated the AllTests class to include the new test suite.