< prev index next >

src/share/vm/utilities/xmlstream.cpp

Print this page
rev 7613 : [mq]: vmassert

*** 31,40 **** --- 31,44 ---- #include "oops/oop.inline.hpp" #include "runtime/deoptimization.hpp" #include "runtime/vmThread.hpp" #include "utilities/xmlstream.hpp" + // Do not assert this condition if there's already another error reported. + #define assert_if_no_error(cond, msg) \ + vmassert((cond) || is_error_reported(), msg) + void xmlStream::initialize(outputStream* out) { _out = out; _last_flush = 0; _markup_state = BODY; _text_init._outer_xmlStream = this;
< prev index next >