diff --git a/classlib/src/main/java/org/teavm/classlib/java/text/TDecimalFormat.java b/classlib/src/main/java/org/teavm/classlib/java/text/TDecimalFormat.java index d8cfad009..8817bbb8f 100644 --- a/classlib/src/main/java/org/teavm/classlib/java/text/TDecimalFormat.java +++ b/classlib/src/main/java/org/teavm/classlib/java/text/TDecimalFormat.java @@ -75,6 +75,10 @@ public class TDecimalFormat extends TNumberFormat { return (DecimalFormatSymbols) symbols.clone(); } + public void setDecimalFormatSymbols(DecimalFormatSymbols symbols) { + this.symbols = (TDecimalFormatSymbols) symbols.clone(); + } + private StringBuffer fieldsToText(FormatField[] fields, StringBuffer buffer) { for (FormatField field : fields) { field.render(this, buffer);