# HG changeset patch # User rgoel # Date 1449651051 -19800 # Node ID 1b2b17500dca8e53e150ba751e414502118bccb0 # Parent 7f00d9e3e5459e4dd09515b4551f541c8fbf5ea8 8025547: Locale.toString() documentation error Summary: Updated API doc of Locale.toString method. Reviewed-by: okutsu diff -r 7f00d9e3e545 -r 1b2b17500dca jdk/src/java.base/share/classes/java/util/Locale.java --- a/jdk/src/java.base/share/classes/java/util/Locale.java Wed Dec 09 17:34:09 2015 +0000 +++ b/jdk/src/java.base/share/classes/java/util/Locale.java Wed Dec 09 14:20:51 2015 +0530 @@ -1248,7 +1248,7 @@ * object, consisting of language, country, variant, script, * and extensions as below: *
- * language + "_" + country + "_" + (variant + "_#" | "#") + script + "-" + extensions + * language + "_" + country + "_" + (variant + "_#" | "#") + script + "_" + extensions ** * Language is always lower case, country is always upper case, script is always title @@ -1278,7 +1278,7 @@ *