8185687: Fix minor bugs in jvmti specification

Fix the doc

Reviewed-by: ksrini, jjg, dcubed
This commit is contained in:
Serguei Spitsyn 2017-08-24 14:03:21 -07:00
parent 57ff1b2897
commit 704142fff4
2 changed files with 16 additions and 8 deletions

View File

@ -227,7 +227,8 @@
label CDATA #REQUIRED>
<!ELEMENT basetype (definition?,description)>
<!ATTLIST basetype id CDATA #REQUIRED>
<!ATTLIST basetype id CDATA #REQUIRED
name CDATA #IMPLIED>
<!ELEMENT definition (#PCDATA|jvmti)*>
@ -438,7 +439,7 @@
The details of how this is initiated are implementation specific.
</intro>
<intro id="entry point" label="Statically Linked Agents (since version 1.2.3)">
<intro id="entryPoint" label="Statically Linked Agents (since version 1.2.3)">
A native JVMTI Agent may be <i>statically linked</i> with the VM.
The manner in which the library and VM image are combined is
@ -6647,7 +6648,7 @@ class C2 extends C1 implements I2 {
If <paramlink id="module"></paramlink> is not a module object.
</error>
<error id="JVMTI_ERROR_INVALID_MODULE">
If <paramlink id="to_modules"></paramlink> is not a module object.
If <paramlink id="to_module"></paramlink> is not a module object.
</error>
<error id="JVMTI_ERROR_ILLEGAL_ARGUMENT">
If the package <paramlink id="pkg_name"></paramlink>
@ -6702,7 +6703,7 @@ class C2 extends C1 implements I2 {
If <paramlink id="module"></paramlink> is not a module object.
</error>
<error id="JVMTI_ERROR_INVALID_MODULE">
If <paramlink id="to_modules"></paramlink> is not a module object.
If <paramlink id="to_module"></paramlink> is not a module object.
</error>
<error id="JVMTI_ERROR_ILLEGAL_ARGUMENT">
If the package <paramlink id="pkg_name"></paramlink>
@ -13786,7 +13787,7 @@ typedef enum {
</example>
</description>
</basetype>
<basetype id="jvmtiEventCallbacks">
<basetype id="jvmtiEventCallbacks" name="eventCallbacks">
<description>
The callbacks used for events.
<example>

View File

@ -905,8 +905,15 @@ typedef struct {
</td>
<td>
<a>
<xsl:attribute name="name">
<xsl:value-of select="@id"/>
<xsl:attribute name="id">
<xsl:choose>
<xsl:when test="count(@name)=1">
<xsl:value-of select="@name"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="@id"/>
</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
</a>
<xsl:apply-templates select="description" mode="brief"/>
@ -922,7 +929,7 @@ typedef struct {
</td>
<td>
<a>
<xsl:attribute name="name">
<xsl:attribute name="id">
<xsl:value-of select="@id"/>
</xsl:attribute>
</a>