ModuleDescriptor#toString(Set<>, String) may produce unexpected results.

Alan Bateman Alan.Bateman at oracle.com
Tue Dec 12 11:59:15 UTC 2017


On 12/12/2017 07:20, Andrej Golovnin wrote:
> Hi all,
>
> the ModuleDescriptor#toString(Set<>, String) method uses
> String#toLowerCase() in the line 2607 without specifying a locale. And
> this may lead to unexpected results when you start the JVM for example
> with the Turkish locale. This can be fixed by using
> String#toLowerCase(Locale) with Locale.ROOT as the argument.
>
Thanks, this should be using toLowerCase(Locale). I'll create a bug for 
this.

-Alan


More information about the jigsaw-dev mailing list