mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Jean-Noel Rouvignac
17.57.2014 1230ec852624445744769540f9335d459e898d1e
refs
author Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Monday, November 17, 2014 16:57 +0100
committer Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Monday, November 17, 2014 16:57 +0100
commit1230ec852624445744769540f9335d459e898d1e
tree a2b9bd7e48d26bdc7db3df0b46266d87fa9c2892 tree | zip | gz
parent 80bd7b846253df76c7d801bacec60143cf5c8dff view | diff
OPENDJ-1634 CollationMatching rules output an error message with OpenJDK 6

Code review: Nicolas Capponi

Problem is due to the new locales (e.g. "he") which are converted to the old locales (e.g. "iw") on collation matching rules initialization.
Fixing this required registering the old locales instead of the new locales. The config.ldif can continue using the new locales.


CoreSchemaImpl.java:
Added static field JVM_SUPPORTED_LOCALE_NAMES_TO_OIDS and used it in addCollationMatchingRules().
Added static method initializeJvmSupportedLocaleNamesToOids().
1 files modified
41 ■■■■■ changed files
opendj-sdk/opendj-core/src/main/java/org/forgerock/opendj/ldap/schema/CoreSchemaImpl.java 41 ●●●●● diff | view | raw | blame | history