--- old/src/hotspot/share/utilities/xmlstream.cpp 2018-07-16 15:03:58.739316150 -0400 +++ new/src/hotspot/share/utilities/xmlstream.cpp 2018-07-16 15:03:58.303678138 -0400 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002, 2017, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2002, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -467,7 +467,7 @@ void xmlStream::object_text(Handle x) { assert_if_no_error(inside_attrs(), "printing attributes"); if (x == NULL) return; - x->print_value_on(text()); + oopDesc::print_value_on(text(), x()); }