-
Bug
-
Resolution: Fixed
-
P3
-
23
-
b14
Observed that
jshell> import java.text.*;
jshell> new DecimalFormat("", new DecimalFormatSymbols()).toString()
| Exception java.lang.OutOfMemoryError: Java heap space
| at Arrays.copyOf (Arrays.java:3540)
| at AbstractStringBuilder.ensureCapacityInternal (AbstractStringBuilder.java:245)
| at AbstractStringBuilder.append (AbstractStringBuilder.java:813)
| at StringBuilder.append (StringBuilder.java:246)
| at DecimalFormat.toPattern (DecimalFormat.java:3317)
| at DecimalFormat.toPattern (DecimalFormat.java:3030)
| at DecimalFormat.toString (DecimalFormat.java:3019)
| at (#2:1)
During CSRJDK-8323088 validations
jshell> import java.text.*;
jshell> new DecimalFormat("", new DecimalFormatSymbols()).toString()
| Exception java.lang.OutOfMemoryError: Java heap space
| at Arrays.copyOf (Arrays.java:3540)
| at AbstractStringBuilder.ensureCapacityInternal (AbstractStringBuilder.java:245)
| at AbstractStringBuilder.append (AbstractStringBuilder.java:813)
| at StringBuilder.append (StringBuilder.java:246)
| at DecimalFormat.toPattern (DecimalFormat.java:3317)
| at DecimalFormat.toPattern (DecimalFormat.java:3030)
| at DecimalFormat.toString (DecimalFormat.java:3019)
| at (#2:1)
During CSR
- csr for
-
JDK-8326998 DecimalFormat::toPattern throws OutOfMemoryError when pattern is empty string
- Closed
- relates to
-
JDK-8323088 Override toString() for Format subclasses
- Closed
There are no Sub-Tasks for this issue.