changeset 48293:2a749b997a0d

8182413: jdwp-protocol is generated without a DOCTYPE directive Summary: add a DOCTYPE directive Reviewed-by: alanb
author sspitsyn
date Wed, 06 Dec 2017 02:09:08 -0800
parents 794cbfa7a309
children 94a38ebbc9bb
files make/jdk/src/classes/build/tools/jdwpgen/RootNode.java
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/make/jdk/src/classes/build/tools/jdwpgen/RootNode.java	Wed Dec 06 08:36:09 2017 +0000
+++ b/make/jdk/src/classes/build/tools/jdwpgen/RootNode.java	Wed Dec 06 02:09:08 2017 -0800
@@ -40,6 +40,7 @@
     }
 
     void document(PrintWriter writer) {
+        writer.println("<!DOCTYPE html>");
         writer.println("<html><head><title>" + comment() + "</title></head>");
         writer.println("<body bgcolor=\"white\">");
         for (Node node : components) {