8029173: Debugger support doesn't handle ConsString
Reviewed-by: lagergren, hannesw, sundar
Contributed-by: james.laskey@oracle.com
--- a/nashorn/src/jdk/nashorn/internal/runtime/DebuggerSupport.java Fri Nov 22 08:52:45 2013 +0530
+++ b/nashorn/src/jdk/nashorn/internal/runtime/DebuggerSupport.java Tue Nov 26 11:58:20 2013 -0400
@@ -243,7 +243,7 @@
return value.toString();
case STRING:
- return escape((String)value);
+ return escape(value.toString());
case NUMBER:
return JSType.toString(((Number)value).doubleValue());