# HG changeset patch # User lana # Date 1386268495 28800 # Node ID 364ebc8a25e12875f05d03ac7b8a2a7180f80b70 # Parent 014cab21aad965ae747833b9ee7cf7ac39432bd2# Parent 2960e826c39d823b357844ccd37cc063f45d9f1c Merge diff -r 014cab21aad9 -r 364ebc8a25e1 nashorn/src/jdk/nashorn/internal/runtime/DebuggerSupport.java --- a/nashorn/src/jdk/nashorn/internal/runtime/DebuggerSupport.java Wed Dec 04 23:11:52 2013 -0800 +++ b/nashorn/src/jdk/nashorn/internal/runtime/DebuggerSupport.java Thu Dec 05 10:34:55 2013 -0800 @@ -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());