8182023: some java.util.jar docs contain links to technotes

Co-authored-by: Brent Christian <brent.christian@oracle.com>
Reviewed-by: mchung
This commit is contained in:
Paul Sandoz 2017-06-20 08:52:24 -07:00
parent 336cc8cfaa
commit c70583ffc6
7 changed files with 16 additions and 18 deletions

View file

@ -2165,7 +2165,7 @@ public abstract class ClassLoader {
* @revised 9 * @revised 9
* @spec JPMS * @spec JPMS
* *
* @see <a href="../../../technotes/guides/jar/jar.html#sealing"> * @see <a href="{@docRoot}/../specs/jar/jar.html#sealing">
* The JAR File Specification: Package Sealing</a> * The JAR File Specification: Package Sealing</a>
*/ */
protected Package definePackage(String name, String specTitle, protected Package definePackage(String name, String specTitle,

View file

@ -109,7 +109,7 @@ import jdk.internal.reflect.Reflection;
* and have no specification and implementation versioning information. * and have no specification and implementation versioning information.
* *
* @jvms 5.3 Run-time package * @jvms 5.3 Run-time package
* @see <a href="../../../technotes/guides/jar/jar.html#sealing"> * @see <a href="{@docRoot}/../specs/jar/jar.html#sealing">
* The JAR File Specification: Package Sealing</a> * The JAR File Specification: Package Sealing</a>
* @see ClassLoader#definePackage(String, String, String, String, String, String, String, URL) * @see ClassLoader#definePackage(String, String, String, String, String, String, String, URL)
* *

View file

@ -44,7 +44,7 @@ import java.util.Comparator;
* the ASCII characters in the set [0-9a-zA-Z_-], and cannot exceed 70 * the ASCII characters in the set [0-9a-zA-Z_-], and cannot exceed 70
* characters in length. Attribute values can contain any characters and * characters in length. Attribute values can contain any characters and
* will be UTF8-encoded when written to the output stream. See the * will be UTF8-encoded when written to the output stream. See the
* <a href="../../../../technotes/guides/jar/jar.html">JAR File Specification</a> * <a href="{@docRoot}/../specs/jar/jar.html">JAR File Specification</a>
* for more information about valid attribute names and values. * for more information about valid attribute names and values.
* *
* <p>This map and its views have a predictable iteration order, namely the * <p>This map and its views have a predictable iteration order, namely the
@ -443,7 +443,7 @@ public class Attributes implements Map<Object,Object>, Cloneable {
* to the ASCII characters in the set [0-9a-zA-Z_-], and cannot exceed * to the ASCII characters in the set [0-9a-zA-Z_-], and cannot exceed
* 70 characters in length. Attribute values can contain any characters * 70 characters in length. Attribute values can contain any characters
* and will be UTF8-encoded when written to the output stream. See the * and will be UTF8-encoded when written to the output stream. See the
* <a href="../../../../technotes/guides/jar/jar.html">JAR File Specification</a> * <a href="{@docRoot}/../specs/jar/jar.html">JAR File Specification</a>
* for more information about valid attribute names and values. * for more information about valid attribute names and values.
*/ */
public static class Name { public static class Name {
@ -529,7 +529,7 @@ public class Attributes implements Map<Object,Object>, Cloneable {
* {@code Name} object for {@code Manifest-Version} * {@code Name} object for {@code Manifest-Version}
* manifest attribute. This attribute indicates the version number * manifest attribute. This attribute indicates the version number
* of the manifest standard to which a JAR file's manifest conforms. * of the manifest standard to which a JAR file's manifest conforms.
* @see <a href="../../../../technotes/guides/jar/jar.html#JAR_Manifest"> * @see <a href="{@docRoot}/../specs/jar/jar.html#JAR_Manifest">
* Manifest and Signature Specification</a> * Manifest and Signature Specification</a>
*/ */
public static final Name MANIFEST_VERSION = new Name("Manifest-Version"); public static final Name MANIFEST_VERSION = new Name("Manifest-Version");
@ -537,7 +537,7 @@ public class Attributes implements Map<Object,Object>, Cloneable {
/** /**
* {@code Name} object for {@code Signature-Version} * {@code Name} object for {@code Signature-Version}
* manifest attribute used when signing JAR files. * manifest attribute used when signing JAR files.
* @see <a href="../../../../technotes/guides/jar/jar.html#JAR_Manifest"> * @see <a href="{@docRoot}/../specs/jar/jar.html#JAR_Manifest">
* Manifest and Signature Specification</a> * Manifest and Signature Specification</a>
*/ */
public static final Name SIGNATURE_VERSION = new Name("Signature-Version"); public static final Name SIGNATURE_VERSION = new Name("Signature-Version");
@ -551,7 +551,7 @@ public class Attributes implements Map<Object,Object>, Cloneable {
/** /**
* {@code Name} object for {@code Class-Path} * {@code Name} object for {@code Class-Path}
* manifest attribute. * manifest attribute.
* @see <a href="../../../../technotes/guides/jar/jar.html#classpath"> * @see <a href="{@docRoot}/../specs/jar/jar.html#classpath">
* JAR file specification</a> * JAR file specification</a>
*/ */
public static final Name CLASS_PATH = new Name("Class-Path"); public static final Name CLASS_PATH = new Name("Class-Path");
@ -568,7 +568,7 @@ public class Attributes implements Map<Object,Object>, Cloneable {
/** /**
* {@code Name} object for {@code Sealed} manifest attribute * {@code Name} object for {@code Sealed} manifest attribute
* used for sealing. * used for sealing.
* @see <a href="../../../../technotes/guides/jar/jar.html#sealing"> * @see <a href="{@docRoot}/../specs/jar/jar.html#sealing">
* Package Sealing</a> * Package Sealing</a>
*/ */
public static final Name SEALED = new Name("Sealed"); public static final Name SEALED = new Name("Sealed");

View file

@ -39,7 +39,7 @@ import java.util.Iterator;
* associated Attributes. There are main Manifest Attributes as well as * associated Attributes. There are main Manifest Attributes as well as
* per-entry Attributes. For information on the Manifest format, please * per-entry Attributes. For information on the Manifest format, please
* see the * see the
* <a href="../../../../technotes/guides/jar/jar.html"> * <a href="{@docRoot}/../specs/jar/jar.html">
* Manifest format specification</a>. * Manifest format specification</a>.
* *
* @author David Connelly * @author David Connelly

View file

@ -40,7 +40,7 @@
* <a href="../zip/package-summary.html#package_description">java.util.zip * <a href="../zip/package-summary.html#package_description">java.util.zip
* package description.</a> <p> * package description.</a> <p>
* In JAR files, all file names must be encoded in the UTF-8 encoding. * In JAR files, all file names must be encoded in the UTF-8 encoding.
* <li><a href="../../../../technotes/guides/jar/jar.html"> * <li><a href="{@docRoot}/../specs/jar/jar.html">
* Manifest and Signature Specification</a> - The manifest format specification. * Manifest and Signature Specification</a> - The manifest format specification.
* </ul> * </ul>
* *

View file

@ -136,10 +136,9 @@ import sun.reflect.misc.ReflectUtil;
* <code><em>protocol</em></code>, or it will throw a * <code><em>protocol</em></code>, or it will throw a
* <code>MalformedURLException</code> if there is none. An * <code>MalformedURLException</code> if there is none. An
* implementation may choose to find providers by other means. For * implementation may choose to find providers by other means. For
* example, it may support the <a * example, it may support <a
* href="{@docRoot}/../technotes/guides/jar/jar.html#Service%20Provider"> * href="{@docRoot}/../java/util/ServiceLoader.html#developing-service-providers">service providers</a>,
* JAR conventions for service providers</a>, where the service * where the service interface is <code>JMXConnectorProvider</code>.</p>
* interface is <code>JMXConnectorProvider</code>.</p>
* *
* <p>Every implementation must support the RMI connector protocol with * <p>Every implementation must support the RMI connector protocol with
* the default RMI transport, specified with string <code>rmi</code>. * the default RMI transport, specified with string <code>rmi</code>.

View file

@ -127,10 +127,9 @@ import javax.management.remote.JMXConnectorFactory.ConnectorFactory;
* <code><em>protocol</em></code>, or it will throw a * <code><em>protocol</em></code>, or it will throw a
* <code>MalformedURLException</code> if there is none. An * <code>MalformedURLException</code> if there is none. An
* implementation may choose to find providers by other means. For * implementation may choose to find providers by other means. For
* example, it may support the <a * example, it may support <a
* href="{@docRoot}/../technotes/guides/jar/jar.html#Service%20Provider"> * href="{@docRoot}/../java/util/ServiceLoader.html#developing-service-providers">service providers</a>,
* JAR conventions for service providers</a>, where the service * where the service interface is <code>JMXConnectorServerProvider</code>.</p>
* interface is <code>JMXConnectorServerProvider</code>.</p>
* *
* <p>Every implementation must support the RMI connector protocol with * <p>Every implementation must support the RMI connector protocol with
* the default RMI transport, specified with string <code>rmi</code>. * the default RMI transport, specified with string <code>rmi</code>.