8220257: fix headings in java.instrument

Reviewed-by: dfuchs
This commit is contained in:
Gary Adams 2019-03-12 11:51:54 -04:00
parent 9f0417b0ae
commit a22bb79e83

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2003, 2017, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2003, 2019, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -52,7 +52,7 @@
* <p> Each of these ways to start an agent is described below. * <p> Each of these ways to start an agent is described below.
* *
* *
* <h3>Starting an Agent from the Command-Line Interface</h3> * <h2>Starting an Agent from the Command-Line Interface</h2>
* *
* <p> Where an implementation provides a means to start agents from the * <p> Where an implementation provides a means to start agents from the
* command-line interface, an agent is started by adding the following option * command-line interface, an agent is started by adding the following option
@ -113,7 +113,7 @@
* threads, is legal from {@code premain}. * threads, is legal from {@code premain}.
* *
* *
* <h3>Starting an Agent After VM Startup</h3> * <h2>Starting an Agent After VM Startup</h2>
* *
* <p> An implementation may provide a mechanism to start agents sometime after * <p> An implementation may provide a mechanism to start agents sometime after
* the the VM has started. The details as to how this is initiated are * the the VM has started. The details as to how this is initiated are
@ -164,7 +164,7 @@
* by the JVM for troubleshooting purposes). * by the JVM for troubleshooting purposes).
* *
* *
* <h3>Including an Agent in an Executable JAR file</h3> * <h2>Including an Agent in an Executable JAR file</h2>
* *
* <p> The JAR File Specification defines manifest attributes for standalone * <p> The JAR File Specification defines manifest attributes for standalone
* applications that are packaged as <em>executable JAR files</em>. If an * applications that are packaged as <em>executable JAR files</em>. If an
@ -194,8 +194,8 @@
* an uncaught exception or error, the JVM will abort. * an uncaught exception or error, the JVM will abort.
* *
* *
* <h3> Loading agent classes and the modules/classes available to the agent * <h2> Loading agent classes and the modules/classes available to the agent
* class </h3> * class </h2>
* *
* <p> Classes loaded from the agent JAR file are loaded by the * <p> Classes loaded from the agent JAR file are loaded by the
* {@linkplain ClassLoader#getSystemClassLoader() system class loader} and are * {@linkplain ClassLoader#getSystemClassLoader() system class loader} and are
@ -242,7 +242,7 @@
* In other words, a custom system class loader must support the mechanism to * In other words, a custom system class loader must support the mechanism to
* add an agent JAR file to the system class loader search. * add an agent JAR file to the system class loader search.
* *
* <h3>Manifest Attributes</h3> * <h2>Manifest Attributes</h2>
* *
* <p> The following manifest attributes are defined for an agent JAR file: * <p> The following manifest attributes are defined for an agent JAR file:
* *
@ -311,7 +311,7 @@
* ignored). * ignored).
* *
* *
* <h3>Instrumenting code in modules</h3> * <h2>Instrumenting code in modules</h2>
* *
* <p> As an aid to agents that deploy supporting classes on the search path of * <p> As an aid to agents that deploy supporting classes on the search path of
* the bootstrap class loader, or the search path of the class loader that loads * the bootstrap class loader, or the search path of the class loader that loads
@ -323,4 +323,4 @@
* @revised 9 * @revised 9
*/ */
package java.lang.instrument; package java.lang.instrument;