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

Jean-Noel Rouvignac
17.57.2014 41d357679b3cea5b26ea2c0cf3ed04b246353b70
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
commit41d357679b3cea5b26ea2c0cf3ed04b246353b70
tree 7a3a8be68431ccc1fb73bcff0b664476d63e71a6 tree | zip | gz
parent 0f1c0c1956329c081d047b3bd9a560a4c1680cd7 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-core/src/main/java/org/forgerock/opendj/ldap/schema/CoreSchemaImpl.java 41 ●●●●● diff | view | raw | blame | history