src/share/vm/oops/symbol.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File hotspot Cdiff src/share/vm/oops/symbol.cpp

src/share/vm/oops/symbol.cpp

Print this page
rev 9166 : 8139996: CompileCommand prints quoted ascii strings
Summary: Print symbols as utf8
Reviewed-by:

*** 152,161 **** --- 152,165 ---- str = buf; } return as_C_string(str, buf_len); } + void Symbol::print_utf8_on(outputStream* st) const { + st->print("%s", as_C_string()); + } + void Symbol::print_symbol_on(outputStream* st) const { ResourceMark rm; st = st ? st : tty; st->print("%s", as_quoted_ascii()); }
src/share/vm/oops/symbol.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File