hotspot/src/share/vm/utilities/xmlstream.cpp
changeset 768 d0bebc7eefc2
parent 1 489c9b5090e2
child 5402 c51fd0c1d005
equal deleted inserted replaced
767:64fb1fd7186d 768:d0bebc7eefc2
    57 // Pass the given chars directly to _out.
    57 // Pass the given chars directly to _out.
    58 void xmlStream::write(const char* s, size_t len) {
    58 void xmlStream::write(const char* s, size_t len) {
    59   if (!is_open())  return;
    59   if (!is_open())  return;
    60 
    60 
    61   out()->write(s, len);
    61   out()->write(s, len);
       
    62   update_position(s, len);
    62 }
    63 }
    63 
    64 
    64 
    65 
    65 // Pass the given chars directly to _out, except that
    66 // Pass the given chars directly to _out, except that
    66 // we watch for special "<&>" chars.
    67 // we watch for special "<&>" chars.