# HG changeset patch # User sundar # Date 1386148071 -19800 # Node ID 2960e826c39d823b357844ccd37cc063f45d9f1c # Parent 87b743b2263cc53955266411b7797b365a0fb050# Parent 86342c6f8cfc51dd74fcf5985e1109673bbbd9e8 Merge diff -r 87b743b2263c -r 2960e826c39d nashorn/src/jdk/nashorn/internal/runtime/DebuggerSupport.java --- a/nashorn/src/jdk/nashorn/internal/runtime/DebuggerSupport.java Wed Jul 05 19:24:47 2017 +0200 +++ b/nashorn/src/jdk/nashorn/internal/runtime/DebuggerSupport.java Wed Dec 04 14:37:51 2013 +0530 @@ -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());