8210775: JVM TI Spec missing copyright
authoriris
Mon, 17 Sep 2018 10:14:31 -0700
changeset 51768 9884b717f2ed
parent 51767 497950fd69a7
child 51769 0ae80830256e
8210775: JVM TI Spec missing copyright Reviewed-by: dholmes, mchung, sspitsyn
src/hotspot/share/prims/jvmti.xml
src/hotspot/share/prims/jvmti.xsl
--- a/src/hotspot/share/prims/jvmti.xml	Mon Sep 17 09:07:40 2018 -0700
+++ b/src/hotspot/share/prims/jvmti.xml	Mon Sep 17 10:14:31 2018 -0700
@@ -24,7 +24,7 @@
 -->
 
 <!DOCTYPE specification [
-   <!ELEMENT specification (title, intro*, functionsection, errorsection,
+   <!ELEMENT specification (title, copyright, intro*, functionsection, errorsection,
                             eventsection, datasection, issuessection, changehistory)>
    <!ATTLIST specification label CDATA #REQUIRED
                            majorversion CDATA #REQUIRED
@@ -34,6 +34,8 @@
    <!ELEMENT title (#PCDATA|jvmti|tm)*>
    <!ATTLIST title subtitle CDATA #REQUIRED>
 
+   <!ELEMENT copyright ANY>
+
    <!ELEMENT intro ANY>
    <!ATTLIST intro id CDATA #IMPLIED
                    label CDATA "">
@@ -365,6 +367,10 @@
     <tm>JVM</tm> Tool Interface
   </title>
 
+  <copyright>
+    Copyright (c) 2002, 2018, Oracle and/or its affiliates. All rights reserved.
+  </copyright>
+
   <intro id="whatIs" label="What is the JVM Tool Interface?">
     The <tm>JVM</tm> Tool Interface (<jvmti/>)
     is a programming interface used by development and monitoring tools.
--- a/src/hotspot/share/prims/jvmti.xsl	Mon Sep 17 09:07:40 2018 -0700
+++ b/src/hotspot/share/prims/jvmti.xsl	Mon Sep 17 10:14:31 2018 -0700
@@ -204,6 +204,7 @@
     <p id="ChangeHistory"/>
       <xsl:apply-templates select="changehistory"/>
     </div>
+    <xsl:apply-templates select="copyright"/>
   </body>
 </html>
 </xsl:template>
@@ -219,6 +220,12 @@
     </h3>
 </xsl:template>
 
+<xsl:template match="copyright">
+  <p>
+    <xsl:apply-templates/>
+  </p>
+</xsl:template>
+
 <xsl:template match="functionsection">
   <div class="sep"/>
   <hr class="thick"/>