[
https://issues.apache.org/jira/browse/DIRAPI-219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14294237#comment-14294237
]
Gregory Chanan commented on DIRAPI-219:
---------------------------------------
Thanks for following up [~elecharny].
As I mentioned in my comment on SOLR-6915, the problem with
ja_JP_JP_#u-ca-japanese appears to be coming from bouncycastle, so I may have
been mistaken in listing it here.
The original errors I posted in SOLR-6915 are from M15, but the output I posted
above are from M28 and look identical to M15. I don't have an isolated test
case. Am I correct in assuming the output for th_TH_TH_#u-nu-thai and
२०१५०१२à¥à¥¦à¥§à¥¦à¥®à¥¦à¥¬.०४०Z are buggy because they
don't follow the usual format?
> DateUtils.toGeneralizedTime does not work with some Locales
> -----------------------------------------------------------
>
> Key: DIRAPI-219
> URL: https://issues.apache.org/jira/browse/DIRAPI-219
> Project: Directory Client API
> Issue Type: Bug
> Affects Versions: 1.0.0-M28
> Reporter: Gregory Chanan
>
> Over in SOLR-6915 I've run into an issue with a few Locales when trying to
> use Apache Directory Server via the Hadoop MiniKDC. Here's an example
> failure that happens on JDK8:
> https://issues.apache.org/jira/browse/SOLR-6915?focusedCommentId=14287516&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14287516
> The locales that have a problem for me are:
> th_TH_TH_#u-nu-thai
> ja_JP_JP_#u-ca-japanese
> hi_IN
> I've tracked these problems to DateUtils.toGeneralizedTime(), which is
> returning the following to me for these 3 locales, respectively:
> à¹à¹à¹à¹à¹à¹à¹à¹à¹à¹à¹à¹à¹à¹.à¹à¹à¹Z
> 270127010806.259Z
> २०१५०१२à¥à¥¦à¥§à¥¦à¥®à¥¦à¥¬.०४०Z
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)