Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8210775

JVM TI Spec missing copyright

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b12

      Backports

        Description

        The JVM TI Spec (specs/jvmti.html) generated from the following files does not contain a copyright on publication:

        http://hg.openjdk.java.net/jdk/jdk11/file/tip/src/hotspot/share/prims/jvmti.xml
        http://hg.openjdk.java.net/jdk/jdk11/file/tip/src/hotspot/share/prims/jvmti.xsl

        The source itself does contain a copyright.


        These files should be updated as follows to add the appropriate copyright in the footer:

        diff -r 9151fde080e6 src/hotspot/share/prims/jvmti.xml
        --- a/src/hotspot/share/prims/jvmti.xml Fri Sep 14 11:17:25 2018 -0700
        +++ b/src/hotspot/share/prims/jvmti.xml Fri Sep 14 12:25:03 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.
        diff -r 9151fde080e6 src/hotspot/share/prims/jvmti.xsl
        --- a/src/hotspot/share/prims/jvmti.xsl Fri Sep 14 11:17:25 2018 -0700
        +++ b/src/hotspot/share/prims/jvmti.xsl Fri Sep 14 12:25:03 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"/>

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                iris Iris Clark
                Reporter:
                iris Iris Clark
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: