--- old/src/java.base/share/classes/java/text/NumberFormat.java 2017-11-10 15:30:14.994267067 -0800
+++ new/src/java.base/share/classes/java/text/NumberFormat.java 2017-11-10 15:30:14.649260618 -0800
@@ -96,7 +96,14 @@
* NumberFormat nf = NumberFormat.getInstance(Locale.FRENCH);
* }
*
- * You can also use a NumberFormat
to parse numbers:
+ *
+ *
If the locale contains "nu" (numbers) and/or "rg" (region override) + * Unicode extensions, + * the decimal digits, and/or the country used for formatting are overriden. + * If both "nu" and "rg" are specified, the decimal digits from "nu" + * extension supersedes the implicit one from "rg" extension. + * + *
You can also use a NumberFormat
to parse numbers:
*
*{@code * myNumber = nf.parse(myString);