--- a/hotspot/src/share/vm/classfile/javaClasses.hpp Fri Nov 09 08:36:17 2012 -0800
+++ b/hotspot/src/share/vm/classfile/javaClasses.hpp Mon Nov 12 14:03:53 2012 -0800
@@ -154,6 +154,8 @@
static char* as_utf8_string(oop java_string, int start, int len);
static char* as_platform_dependent_str(Handle java_string, TRAPS);
static jchar* as_unicode_string(oop java_string, int& length);
+ // produce an ascii string with all other values quoted using \u####
+ static char* as_quoted_ascii(oop java_string);
// Compute the hash value for a java.lang.String object which would
// contain the characters passed in.