# HG changeset patch # User jjg # Date 1493311660 25200 # Node ID e946981dc37c6e68f0fa50a9c17f971dd5546688 # Parent cf230b81a508dd0254fc69101fb65eb19ff9c8e5 8179370: Replace use of ,
and tags in java.base Reviewed-by: darcy, alanb, mchung diff -r cf230b81a508 -r e946981dc37c jdk/make/gensrc/GensrcCharsetCoder.gmk --- a/jdk/make/gensrc/GensrcCharsetCoder.gmk Thu Apr 27 12:38:21 2017 +0100 +++ b/jdk/make/gensrc/GensrcCharsetCoder.gmk Thu Apr 27 09:47:40 2017 -0700 @@ -54,7 +54,7 @@ -DOtherCoder='Encoder' \ -DreplTypeName='string' \ -DdefaultRepl='"\\uFFFD"' \ - -DdefaultReplName='"\\uFFFD"<\/tt>' \ + -DdefaultReplName='"\\uFFFD"<\/code>' \ -DreplType='String' \ -DreplFQType='java.lang.String' \ -DreplLength='length()' \ @@ -89,7 +89,7 @@ -DOtherCoder='Decoder' \ -DreplTypeName='byte array' \ -DdefaultRepl='new byte[] { (byte)'"'"\\?"'"' }' \ - -DdefaultReplName='{<\/tt>\ (byte)'"'"\\?"'"'<\/tt>\ }<\/tt>' \ + -DdefaultReplName='{<\/code>\ (byte)'"'"\\?"'"'<\/code>\ }<\/code>' \ -DreplType='byte[]' \ -DreplFQType='byte[]' \ -DreplLength='length' \ diff -r cf230b81a508 -r e946981dc37c jdk/src/java.base/share/classes/java/io/DataInput.java --- a/jdk/src/java.base/share/classes/java/io/DataInput.java Thu Apr 27 12:38:21 2017 +0100 +++ b/jdk/src/java.base/share/classes/java/io/DataInput.java Thu Apr 27 09:47:40 2017 -0700 @@ -72,8 +72,8 @@ * * * Byte 1 - *
0
- *
bits 6-0
+ * 0 + * bits 6-0 * * * @@ -87,16 +87,16 @@ * * * Byte 1 - *
1
- *
1
- *
0
- *
bits 10-6
+ * 1 + * 1 + * 0 + * bits 10-6 * * * Byte 2 - *
1
- *
0
- *
bits 5-0
+ * 1 + * 0 + * bits 5-0 * * * @@ -109,23 +109,23 @@ * * * Byte 1 - *
1
- *
1
- *
1
- *
0
- *
bits 15-12
+ * 1 + * 1 + * 1 + * 0 + * bits 15-12 * * * Byte 2 - *
1
- *
0
- *
bits 11-6
+ * 1 + * 0 + * bits 11-6 * * * Byte 3 - *
1
- *
0
- *
bits 5-0
+ * 1 + * 0 + * bits 5-0 * * * diff -r cf230b81a508 -r e946981dc37c jdk/src/java.base/share/classes/java/net/URLConnection.java --- a/jdk/src/java.base/share/classes/java/net/URLConnection.java Thu Apr 27 12:38:21 2017 +0100 +++ b/jdk/src/java.base/share/classes/java/net/URLConnection.java Thu Apr 27 09:47:40 2017 -0700 @@ -54,7 +54,7 @@ * read from and to write to the resource referenced by the URL. In * general, creating a connection to a URL is a multistep process: * - *
+ *
* * * *
{@code openConnection()}{@code connect()}
Manipulate parameters that affect the connection to the remote @@ -63,7 +63,7 @@ * contents.
* ----------------------------> - *
time
+ *
time * *
    *
  1. The connection object is created by invoking the diff -r cf230b81a508 -r e946981dc37c jdk/src/java.base/share/classes/java/util/ServiceLoader.java --- a/jdk/src/java.base/share/classes/java/util/ServiceLoader.java Thu Apr 27 12:38:21 2017 +0100 +++ b/jdk/src/java.base/share/classes/java/util/ServiceLoader.java Thu Apr 27 09:47:40 2017 -0700 @@ -125,13 +125,13 @@ * *

    A service provider that is packaged as a JAR file for the class path is * identified by placing a provider-configuration file in the resource - * directory META-INF/services. The file's name is the fully-qualified + * directory {@code META-INF/services}. The file's name is the fully-qualified * binary name of the service's * type. The file contains a list of fully-qualified binary names of concrete * provider classes, one per line. Space and tab characters surrounding each * name, as well as blank lines, are ignored. The comment character is - * '#' ('\u0023', - * NUMBER SIGN); on + * {@code '#'} ('\u0023', + * NUMBER SIGN); on * each line all characters following the first comment character are ignored. * The file must be encoded in UTF-8. * If a particular concrete provider class is named in more than one @@ -257,7 +257,7 @@ * method in this class will cause a {@link NullPointerException} to be thrown. * *

    Example

    - *

    Suppose we have a service type com.example.CodecSet which is + *

    Suppose we have a service type {@code com.example.CodecSet} which is * intended to represent sets of encoder/decoder pairs for some protocol. In * this case it is an abstract class with two abstract methods: * @@ -265,11 +265,11 @@ * public abstract Encoder getEncoder(String encodingName); * public abstract Decoder getDecoder(String encodingName); * - * Each method returns an appropriate object or null if the provider + * Each method returns an appropriate object or {@code null} if the provider * does not support the given encoding. Typical providers support more than * one encoding. * - *

    The CodecSet class creates and saves a single service instance + *

    The {@code CodecSet} class creates and saves a single service instance * at initialization: * *

    {@code
    @@ -1402,7 +1402,7 @@
          *
          * @param  loader
          *         The class loader to be used to load provider-configuration files
    -     *         and provider classes, or null if the system class
    +     *         and provider classes, or {@code null} if the system class
          *         loader (or, failing that, the bootstrap class loader) is to be
          *         used
          *
    diff -r cf230b81a508 -r e946981dc37c jdk/src/java.base/share/classes/javax/net/ssl/TrustManagerFactory.java
    --- a/jdk/src/java.base/share/classes/javax/net/ssl/TrustManagerFactory.java	Thu Apr 27 12:38:21 2017 +0100
    +++ b/jdk/src/java.base/share/classes/javax/net/ssl/TrustManagerFactory.java	Thu Apr 27 09:47:40 2017 -0700
    @@ -40,7 +40,7 @@
      * 

    Every implementation of the Java platform is required to support the * following standard {@code TrustManagerFactory} algorithm: *

      - *
    • PKIX
    • + *
    • {@code PKIX}
    • *
    * This algorithm is described in the