1.1 --- a/src/jdk/nashorn/internal/runtime/JSType.java Mon Nov 04 18:52:22 2013 +0530 1.2 +++ b/src/jdk/nashorn/internal/runtime/JSType.java Thu Nov 07 17:26:46 2013 +0530 1.3 @@ -88,6 +88,9 @@ 1.4 /** JavaScript compliant conversion function from Object to number */ 1.5 public static final Call TO_NUMBER = staticCall(myLookup, JSType.class, "toNumber", double.class, Object.class); 1.6 1.7 + /** JavaScript compliant conversion function from Object to String */ 1.8 + public static final Call TO_STRING = staticCall(myLookup, JSType.class, "toString", String.class, Object.class); 1.9 + 1.10 /** JavaScript compliant conversion function from Object to int32 */ 1.11 public static final Call TO_INT32 = staticCall(myLookup, JSType.class, "toInt32", int.class, Object.class); 1.12