From 8340c2629a59a77282243901b7360131d9ffaa91 Mon Sep 17 00:00:00 2001 From: Edward Jensen Date: Mon, 25 Apr 2022 14:45:12 -0500 Subject: [PATCH] Fix ClassCastException when using StringBuilder/Buffer mozilla#496 --- testsrc/org/mozilla/javascript/tests/Issue1206Test.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/testsrc/org/mozilla/javascript/tests/Issue1206Test.java b/testsrc/org/mozilla/javascript/tests/Issue1206Test.java index a64cd9e0d9..0e961a3418 100644 --- a/testsrc/org/mozilla/javascript/tests/Issue1206Test.java +++ b/testsrc/org/mozilla/javascript/tests/Issue1206Test.java @@ -8,7 +8,9 @@ import org.mozilla.javascript.Context; import org.mozilla.javascript.Scriptable; -/** Tests the ConsString class to ensure it properly supports String, StringBuffer and StringBuilder. */ +/** + * Tests the ConsString class to ensure it properly supports String, StringBuffer and StringBuilder. + */ public class Issue1206Test { @Test public void testConsStringUsingString() {