# HG changeset patch # User Tom Rodriguez # Date 1385422280 28800 # Node ID 85b60abfd11faf8f310c7f7803f4e183f0b3ae86 # Parent b00553202ec2cf34937d3785d9a07e22a0ac3b99 Treat block comments as raw strings diff -r b00553202ec2 -r 85b60abfd11f src/share/vm/asm/codeBuffer.cpp --- a/src/share/vm/asm/codeBuffer.cpp Mon Nov 25 15:31:18 2013 -0800 +++ b/src/share/vm/asm/codeBuffer.cpp Mon Nov 25 15:31:20 2013 -0800 @@ -1096,8 +1096,9 @@ CodeString* c = find(offset); while (c && c->offset() == offset) { stream->bol(); - stream->print(" ;; "); - stream->print_cr(c->string()); + stream->print_raw(" ;; "); + // Don't interpret as format strings since it could contain % + stream->print_raw_cr(c->string()); c = c->next_comment(); } }