8182844: Fix broken links in the generated jvmti.html

Fix broken links in the jvmti.html

Reviewed-by: clanger, dcubed
This commit is contained in:
Serguei Spitsyn 2017-08-01 08:53:32 -07:00
parent 0403493f8f
commit 10f79d42ef
2 changed files with 4 additions and 8 deletions
hotspot/src/share/vm/prims

@ -404,7 +404,7 @@
interfaces are more appropriate than <jvmti/> for many tools.
For more information on the Java Platform Debugger Architecture,
see the
<externallink id="docs/technotes/guides/jpda/architecture.html">Java
<externallink id="jpda/architecture.html">Java
Platform Debugger Architecture website</externallink>.
</intro>
@ -10927,7 +10927,7 @@ myInit() {
for a class. The segment is typically a directory or JAR file.
<p/>
In the live phase the <paramlink id="segment"/> may be used to specify any platform-dependent
path to a <externallink id="docs/technotes/guides/jar/jar.html">
path to a <externallink id="jar/jar.html">
JAR file</externallink>. The agent should take care that the JAR file does not
contain any classes or resources other than those to be defined by the bootstrap
class loader for the purposes of instrumentation.
@ -10975,7 +10975,7 @@ myInit() {
for a class. The segment is typically a directory or JAR file.
<p/>
In the live phase the <paramlink id="segment"/> is a platform-dependent path to a
<externallink id="docs/technotes/guides/jar/jar.html">JAR file</externallink> to be
<externallink id="jar/jar.html">JAR file</externallink> to be
searched after the system class loader unsuccessfully searches for a class. The agent should
take care that the JAR file does not contain any classes or resources other than those to be
defined by the system class loader for the purposes of instrumentation.

@ -1,6 +1,6 @@
<?xml version="1.0"?>
<!--
Copyright (c) 2002, 2016, Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2002, 2017, Oracle and/or its affiliates. All rights reserved.
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
This code is free software; you can redistribute it and/or modify it
@ -1033,10 +1033,6 @@ typedef struct {
<xsl:template match="externallink">
<a>
<xsl:attribute name="href">
<!-- All external links start from the same prefix -->
<xsl:text>http://docs.oracle.com/javase/</xsl:text>
<xsl:value-of select="//specification/@majorversion"/>
<xsl:text>/</xsl:text>
<xsl:value-of select="@id"/>
</xsl:attribute>
<xsl:value-of select="."/>