src/java.base/share/classes/java/text/ChoiceFormat.java
changeset 49510 a7777856ae98
parent 47216 71c04702a3d5
child 49524 171e0beb4ff1
--- a/src/java.base/share/classes/java/text/ChoiceFormat.java	Mon Apr 02 17:08:00 2018 -0700
+++ b/src/java.base/share/classes/java/text/ChoiceFormat.java	Mon Apr 02 17:09:29 2018 -0700
@@ -212,7 +212,7 @@
                 } else if (tempBuffer.equals("-\u221E")) {
                     startValue = Double.NEGATIVE_INFINITY;
                 } else {
-                    startValue = Double.valueOf(tempBuffer);
+                    startValue = Double.parseDouble(tempBuffer);
                 }
 
                 if (ch == '<' && startValue != Double.POSITIVE_INFINITY &&