Skip to content

Commit

Permalink
Fix ClassCastException when using StringBuilder/Buffer mozilla#496
Browse files Browse the repository at this point in the history
  • Loading branch information
Edward Jensen committed Apr 25, 2022
1 parent 1309215 commit 8340c26
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion testsrc/org/mozilla/javascript/tests/Issue1206Test.java
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 8340c26

Please sign in to comment.