<Swing Dev> [12] JDK-8213516: jck test api/javax_accessibility/AccessibleState/fields.html fails intermittent
Sergey Bylokhov
Sergey.Bylokhov at oracle.com
Tue Mar 26 21:18:11 UTC 2019
Hi, Shashi, Krishna.
> Hi Sergey, Please find the updated Webrev with fixes for the below comments> http://cr.openjdk.java.net/~sveerabhadra/8213516/webrev.06/
Is it possible that concatenation of different resourceBundleName and locale.toLanguageTag() will produce the same resulted string?
like aaa+bbb and aaab+bb.
> The hashcode() does not guarantee that it will produce different numbers for different inputs.
> You need a compound key like in previous fix(but not in the public APi), or you need a compound map like this:
> Hashtable<Locale, Hashtable<String, Hashtable<String, Object>>> table = new Hashtable<>();
>
--
Best regards, Sergey.
More information about the swing-dev
mailing list