<Swing Dev> RFR: 8263481: Specification of JComponent::setDefaultLocale doesn't mention that passing 'null' restores VM's default locale [v2]

Alexey Ivanov aivanov at openjdk.java.net
Thu Mar 18 22:19:39 UTC 2021


On Wed, 17 Mar 2021 08:03:39 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

>> The current state of specification for
>> https://docs.oracle.com/en/java/javase/15/docs/api/java.desktop/javax/swing/JComponent.html#setDefaultLocale(java.util.Locale)
>> doesn't mention anything about passing 'null' as a new default locale.
>> 
>> In fact for OpenJDK implementation passing 'null' restores the default VM's locale. 
>> This is now explicitly stated in javadoc.
>
> Prasanta Sadhukhan has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Test modification

Marked as reviewed by aivanov (Reviewer).

-------------

PR: https://git.openjdk.java.net/jdk/pull/3003


More information about the swing-dev mailing list