Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8263481

Specification of JComponent::setDefaultLocale doesn't mention that passing 'null' restores VM's default locale

XMLWordPrintable

      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 for newly created JComponents.

            psadhukhan Prasanta Sadhukhan
            dbessono Dmitry Bessonov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: