diff --git a/src/java.base/share/classes/java/util/Locale.java b/src/java.base/share/classes/java/util/Locale.java index e62b0bfc60407..d52758e834212 100644 --- a/src/java.base/share/classes/java/util/Locale.java +++ b/src/java.base/share/classes/java/util/Locale.java @@ -263,11 +263,13 @@ *
The default locale is provided mainly for the locale-sensitive methods if no * {@code Locale} is explicitly specified as an argument, such as * {@link DateFormat#getInstance()}. The default locale is determined at startup - * of the Java runtime. First, the locale-related system properties are - * established according to the underlying host environment. The following table - * lists the locale-related system properties. Some of the system properties - * (except for {@code user.language}) may not have corresponding values depending - * on the host environment. + * of the Java runtime, and established in the following three phases: + *
Next, the values for these system properties can be overridden from the values - * designated on the Java launcher's command line with {@code -D} option. Finally, the - * default {@code Locale} instance is constructed from these system properties values. - *
These system properties are read only at the Java runtime startup. Altering their - * values later with {@link System#setProperties(Properties)}/ + *
These system properties are read only at the Java runtime startup. Altering + * their values later with {@link System#setProperties(Properties)}/ * {@link System#setProperty(String, String)} will have no effect on the established * default locale. *
Once the default locale is established, applications can query the default