Mercurial > hg > graal-jvmci-8
changeset 23399:acfe624d83f5
Remove unintentional IGV changes brought over with JDK9 sync
author | Tom Rodriguez <tom.rodriguez@oracle.com> |
---|---|
date | Wed, 18 May 2016 11:04:37 -0700 |
parents | 3e8ce13f4e12 |
children | 0cbc2bd101c3 |
files | src/share/tools/IdealGraphVisualizer/Data/src/com/sun/hotspot/igv/data/serialization/Parser.java src/share/tools/IdealGraphVisualizer/NetworkConnection/src/com/sun/hotspot/igv/connection/Client.java |
diffstat | 2 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/share/tools/IdealGraphVisualizer/Data/src/com/sun/hotspot/igv/data/serialization/Parser.java Tue May 17 21:10:34 2016 +0200 +++ b/src/share/tools/IdealGraphVisualizer/Data/src/com/sun/hotspot/igv/data/serialization/Parser.java Wed May 18 11:04:37 2016 -0700 @@ -546,7 +546,8 @@ private XMLReader createReader() throws SAXException { try { SAXParserFactory pfactory = SAXParserFactory.newInstance(); - pfactory.setValidating(true); + // Don't bother enabling validation since we don't have an error handler. + pfactory.setValidating(false); pfactory.setNamespaceAware(true); // Enable schema validation
--- a/src/share/tools/IdealGraphVisualizer/NetworkConnection/src/com/sun/hotspot/igv/connection/Client.java Tue May 17 21:10:34 2016 +0200 +++ b/src/share/tools/IdealGraphVisualizer/NetworkConnection/src/com/sun/hotspot/igv/connection/Client.java Wed May 18 11:04:37 2016 -0700 @@ -54,8 +54,6 @@ if (binary) { new BinaryParser(channel, null, rootDocument, callback).parse(); } else { - // signal readiness to client VM (old protocol) - channel.socket().getOutputStream().write('y'); new Parser(channel, null, callback).parse(); } } catch (IOException ex) {