diff --git a/jdk/src/share/classes/java/io/ByteArrayInputStream.java b/jdk/src/share/classes/java/io/ByteArrayInputStream.java index e58c6e64a64..ce0b8d1f183 100644 --- a/jdk/src/share/classes/java/io/ByteArrayInputStream.java +++ b/jdk/src/share/classes/java/io/ByteArrayInputStream.java @@ -275,7 +275,6 @@ class ByteArrayInputStream extends InputStream { * Closing a ByteArrayInputStream has no effect. The methods in * this class can be called after the stream has been closed without * generating an IOException. - *
*/ public void close() throws IOException { } diff --git a/jdk/src/share/classes/java/io/ByteArrayOutputStream.java b/jdk/src/share/classes/java/io/ByteArrayOutputStream.java index d28d397b31c..cd3c139a27e 100644 --- a/jdk/src/share/classes/java/io/ByteArrayOutputStream.java +++ b/jdk/src/share/classes/java/io/ByteArrayOutputStream.java @@ -263,8 +263,6 @@ public class ByteArrayOutputStream extends OutputStream { * Closing a ByteArrayOutputStream has no effect. The methods in * this class can be called after the stream has been closed without * generating an IOException. - *
- * */ public void close() throws IOException { } diff --git a/jdk/src/share/classes/java/io/DataInput.java b/jdk/src/share/classes/java/io/DataInput.java index 58a3a2bfd3f..c61aeb58eda 100644 --- a/jdk/src/share/classes/java/io/DataInput.java +++ b/jdk/src/share/classes/java/io/DataInput.java @@ -155,7 +155,7 @@ interface DataInput { * to the length of {@code b}. *
* This method blocks until one of the - * following conditions occurs:
+ * following conditions occurs: *
* This method * blocks until one of the following conditions - * occurs:
+ * occurs: *
(short)((a << 8) | (b & 0xff))
- *
+ * {@code (short)((a << 8) | (b & 0xff)) + * }* This method * is suitable for reading the bytes written * by the {@code writeShort} method of @@ -337,8 +337,8 @@ interface DataInput { * be the first byte read and * {@code b} * be the second byte. The value returned is: - *
(((a & 0xff) << 8) | (b & 0xff))
- *
+ * {@code (((a & 0xff) << 8) | (b & 0xff)) + * }* This method is suitable for reading the bytes * written by the {@code writeShort} method * of interface {@code DataOutput} if @@ -359,8 +359,8 @@ interface DataInput { * be the first byte read and {@code b} * be the second byte. The value * returned is: - *
(char)((a << 8) | (b & 0xff))
- *
+ * {@code (char)((a << 8) | (b & 0xff)) + * }* This method * is suitable for reading bytes written by * the {@code writeChar} method of interface @@ -377,10 +377,10 @@ interface DataInput { * Reads four input bytes and returns an * {@code int} value. Let {@code a-d} * be the first through fourth bytes read. The value returned is: - *
- * (((a & 0xff) << 24) | ((b & 0xff) << 16) |
- * ((c & 0xff) << 8) | (d & 0xff))
- *
+ * {@code + * (((a & 0xff) << 24) | ((b & 0xff) << 16) | + * ((c & 0xff) << 8) | (d & 0xff)) + * }* This method is suitable * for reading bytes written by the {@code writeInt} * method of interface {@code DataOutput}. @@ -397,16 +397,16 @@ interface DataInput { * a {@code long} value. Let {@code a-h} * be the first through eighth bytes read. * The value returned is: - *
- * (((long)(a & 0xff) << 56) |
- * ((long)(b & 0xff) << 48) |
- * ((long)(c & 0xff) << 40) |
- * ((long)(d & 0xff) << 32) |
- * ((long)(e & 0xff) << 24) |
- * ((long)(f & 0xff) << 16) |
- * ((long)(g & 0xff) << 8) |
- * ((long)(h & 0xff)))
- *
+ * {@code + * (((long)(a & 0xff) << 56) | + * ((long)(b & 0xff) << 48) | + * ((long)(c & 0xff) << 40) | + * ((long)(d & 0xff) << 32) | + * ((long)(e & 0xff) << 24) | + * ((long)(f & 0xff) << 16) | + * ((long)(g & 0xff) << 8) | + * ((long)(h & 0xff))) + * }*
* This method is suitable * for reading bytes written by the {@code writeLong} @@ -540,9 +540,9 @@ interface DataInput { * not match the bit pattern {@code 10xxxxxx}, * then a {@code UTFDataFormatException} * is thrown. Otherwise, the group is converted - * to the character:
- *
(char)(((a& 0x1F) << 6) | (b & 0x3F))
- *
+ * to the character:
+ * {@code (char)(((a & 0x1F) << 6) | (b & 0x3F)) + * }* If the first byte of a group * matches the bit pattern {@code 1110xxxx}, * then the group consists of that byte {@code a} @@ -554,10 +554,10 @@ interface DataInput { * does not match the bit pattern {@code 10xxxxxx}, * then a {@code UTFDataFormatException} * is thrown. Otherwise, the group is converted - * to the character:
- *
- * (char)(((a & 0x0F) << 12) | ((b & 0x3F) << 6) | (c & 0x3F))
- *
+ * to the character:
+ * {@code + * (char)(((a & 0x0F) << 12) | ((b & 0x3F) << 6) | (c & 0x3F)) + * }* If the first byte of a group matches the * pattern {@code 1111xxxx} or the pattern * {@code 10xxxxxx}, then a {@code UTFDataFormatException} diff --git a/jdk/src/share/classes/java/io/DataOutput.java b/jdk/src/share/classes/java/io/DataOutput.java index 07fbc3a927d..ce909d10238 100644 --- a/jdk/src/share/classes/java/io/DataOutput.java +++ b/jdk/src/share/classes/java/io/DataOutput.java @@ -134,11 +134,11 @@ interface DataOutput { * Writes two bytes to the output * stream to represent the value of the argument. * The byte values to be written, in the order - * shown, are:
- *
- * (byte)(0xff & (v >> 8))
- * (byte)(0xff & v)
- *
+ * shown, are: + *
{@code + * (byte)(0xff & (v >> 8)) + * (byte)(0xff & v) + * }
* The bytes written by this method may be
* read by the readShort
method
* of interface DataInput
, which
@@ -156,10 +156,10 @@ interface DataOutput {
* output stream.
* The byte values to be written, in the order
* shown, are:
- *
- * (byte)(0xff & (v >> 8))
- * (byte)(0xff & v)
- *
+ *
{@code + * (byte)(0xff & (v >> 8)) + * (byte)(0xff & v) + * }
* The bytes written by this method may be
* read by the readChar
method
* of interface DataInput
, which
@@ -176,12 +176,12 @@ interface DataOutput {
* comprised of four bytes, to the output stream.
* The byte values to be written, in the order
* shown, are:
- *
- * (byte)(0xff & (v >> 24))
- * (byte)(0xff & (v >> 16))
- * (byte)(0xff & (v >> 8))
- * (byte)(0xff & v)
- *
+ *
{@code + * (byte)(0xff & (v >> 24)) + * (byte)(0xff & (v >> 16)) + * (byte)(0xff & (v >> 8)) + * (byte)(0xff & v) + * }
* The bytes written by this method may be read
* by the readInt
method of interface
* DataInput
, which will then
@@ -197,16 +197,16 @@ interface DataOutput {
* comprised of eight bytes, to the output stream.
* The byte values to be written, in the order
* shown, are:
- *
- * (byte)(0xff & (v >> 56))
- * (byte)(0xff & (v >> 48))
- * (byte)(0xff & (v >> 40))
- * (byte)(0xff & (v >> 32))
- * (byte)(0xff & (v >> 24))
- * (byte)(0xff & (v >> 16))
- * (byte)(0xff & (v >> 8))
- * (byte)(0xff & v)
- *
+ *
{@code + * (byte)(0xff & (v >> 56)) + * (byte)(0xff & (v >> 48)) + * (byte)(0xff & (v >> 40)) + * (byte)(0xff & (v >> 32)) + * (byte)(0xff & (v >> 24)) + * (byte)(0xff & (v >> 16)) + * (byte)(0xff & (v >> 8)) + * (byte)(0xff & v) + * }
* The bytes written by this method may be
* read by the readLong
method
* of interface DataInput
, which
@@ -314,24 +314,24 @@ interface DataOutput {
* If a character c
* is in the range \u0001
through
* \u007f
, it is represented
- * by one byte:
+ * by one byte: *
(byte)c
* If a character c
is \u0000
* or is in the range \u0080
* through \u07ff
, then it is
* represented by two bytes, to be written
- * in the order shown:
- * (byte)(0xc0 | (0x1f & (c >> 6)))
- * (byte)(0x80 | (0x3f & c))
- *
If a character + * in the order shown:
{@code + * (byte)(0xc0 | (0x1f & (c >> 6))) + * (byte)(0x80 | (0x3f & c)) + * }
If a character
* c
is in the range \u0800
* through uffff
, then it is
* represented by three bytes, to be written
- * in the order shown:
- * (byte)(0xe0 | (0x0f & (c >> 12)))
- * (byte)(0x80 | (0x3f & (c >> 6)))
- * (byte)(0x80 | (0x3f & c))
- *
First, + * in the order shown:
{@code + * (byte)(0xe0 | (0x0f & (c >> 12))) + * (byte)(0x80 | (0x3f & (c >> 6))) + * (byte)(0x80 | (0x3f & c)) + * }
First,
* the total number of bytes needed to represent
* all the characters of s
is
* calculated. If this number is larger than
diff --git a/jdk/src/share/classes/java/io/FilePermission.java b/jdk/src/share/classes/java/io/FilePermission.java
index e70d292e0c8..89f2c33287a 100644
--- a/jdk/src/share/classes/java/io/FilePermission.java
+++ b/jdk/src/share/classes/java/io/FilePermission.java
@@ -55,7 +55,7 @@ import sun.security.util.SecurityConstants;
* a list of one or more comma-separated keywords. The possible keywords are
* "read", "write", "execute", "delete", and "readlink". Their meaning is
* defined as follows:
- *
+ * *
- * More specifically, this method returns true if:
+ * More specifically, this method returns true if: *
+ *
+ * object's actions, and *
The general contract of reset
is:
*
- *
markSupported
returns
* true
, then:
*
diff --git a/jdk/src/share/classes/java/io/ObjectInputStream.java b/jdk/src/share/classes/java/io/ObjectInputStream.java
index c71681c255d..15ecd9bee65 100644
--- a/jdk/src/share/classes/java/io/ObjectInputStream.java
+++ b/jdk/src/share/classes/java/io/ObjectInputStream.java
@@ -109,7 +109,7 @@ import sun.reflect.misc.ReflectUtil;
*
* Serializable classes that require special handling during the * serialization and deserialization process should implement the following - * methods:
+ * methods: * *
* private void writeObject(java.io.ObjectOutputStream stream) diff --git a/jdk/src/share/classes/java/io/PipedInputStream.java b/jdk/src/share/classes/java/io/PipedInputStream.java index af07de5b4e6..83dde31ed42 100644 --- a/jdk/src/share/classes/java/io/PipedInputStream.java +++ b/jdk/src/share/classes/java/io/PipedInputStream.java @@ -172,15 +172,14 @@ public class PipedInputStream extends InputStream { * unconnected piped output stream and*snk
* is an unconnected piped input stream, they * may be connected by either the call: - *+ * *
*snk.connect(src)
* or the call: - *
+ * *
*src.connect(snk)
- * The two - * calls have the same effect. + * The two calls have the same effect. * * @param src The piped output stream to connect to. * @exception IOException if an I/O error occurs. diff --git a/jdk/src/share/classes/java/io/PipedReader.java b/jdk/src/share/classes/java/io/PipedReader.java index bb86022af6f..34716466a44 100644 --- a/jdk/src/share/classes/java/io/PipedReader.java +++ b/jdk/src/share/classes/java/io/PipedReader.java @@ -145,15 +145,14 @@ public class PipedReader extends Reader { * unconnected piped writer and
snk
* is an unconnected piped reader, they * may be connected by either the call: - *+ * *
*snk.connect(src)
* or the call: - *
+ * *
*src.connect(snk)
- * The two - * calls have the same effect. + * The two calls have the same effect. * * @param src The piped writer to connect to. * @exception IOException if an I/O error occurs. diff --git a/jdk/src/share/classes/java/io/RandomAccessFile.java b/jdk/src/share/classes/java/io/RandomAccessFile.java index fd1c712d1e3..c48aa99b32f 100644 --- a/jdk/src/share/classes/java/io/RandomAccessFile.java +++ b/jdk/src/share/classes/java/io/RandomAccessFile.java @@ -784,7 +784,7 @@ public class RandomAccessFile implements DataOutput, DataInput, Closeable { *
* then the result is equal to: - *
+ ** ((long)b1 << 56) + ((long)b2 << 48) * + ((long)b3 << 40) + ((long)b4 << 32) * + ((long)b5 << 24) + ((long)b6 << 16) diff --git a/jdk/src/share/classes/java/io/Serializable.java b/jdk/src/share/classes/java/io/Serializable.java index fc717f7570e..2f7bea1833e 100644 --- a/jdk/src/share/classes/java/io/Serializable.java +++ b/jdk/src/share/classes/java/io/Serializable.java @@ -55,7 +55,7 @@ package java.io; * * Classes that require special handling during the serialization and * deserialization process must implement special methods with these exact - * signatures:+ * signatures: * *
* private void writeObject(java.io.ObjectOutputStream out) @@ -101,7 +101,7 @@ package java.io; * *Serializable classes that need to designate an alternative object to be * used when writing an object to the stream should implement this - * special method with the exact signature:
+ * special method with the exact signature: * *
* ANY-ACCESS-MODIFIER Object writeReplace() throws ObjectStreamException; @@ -115,7 +115,7 @@ package java.io; * * Classes that need to designate a replacement when an instance of it * is read from the stream should implement this special method with the - * exact signature.+ * exact signature. * *
* ANY-ACCESS-MODIFIER Object readResolve() throws ObjectStreamException; @@ -133,7 +133,7 @@ package java.io; * deserialization will result in an {@link InvalidClassException}. A * serializable class can declare its own serialVersionUID explicitly by * declaring a field named"serialVersionUID"
that must be static, - * final, and of typelong
:+ * final, and of type
long
: * ** ANY-ACCESS-MODIFIER static final long serialVersionUID = 42L; diff --git a/jdk/src/share/classes/java/io/SerializablePermission.java b/jdk/src/share/classes/java/io/SerializablePermission.java index eaa2913243d..b208d24d2f5 100644 --- a/jdk/src/share/classes/java/io/SerializablePermission.java +++ b/jdk/src/share/classes/java/io/SerializablePermission.java @@ -43,7 +43,6 @@ import java.util.StringTokenizer; * The following table lists all the possible SerializablePermission target names, * and for each provides a description of what the permission allows * and a discussion of the risks of granting code the permission. - ** *
*
diff --git a/jdk/src/share/classes/java/lang/AbstractStringBuilder.java b/jdk/src/share/classes/java/lang/AbstractStringBuilder.java index 3260da6ae99..3cde60d6437 100644 --- a/jdk/src/share/classes/java/lang/AbstractStringBuilder.java +++ b/jdk/src/share/classes/java/lang/AbstractStringBuilder.java @@ -330,9 +330,9 @@ abstract class AbstractStringBuilder implements Appendable, CharSequence { * characters to be copied is {@code srcEnd-srcBegin}. The * characters are copied into the subarray of {@code dst} starting * at index {@code dstBegin} and ending at index: - * + * } * * @param srcBegin start copying at this offset. * @param srcEnd stop copying at this offset. @@ -859,16 +859,16 @@ abstract class AbstractStringBuilder implements Appendable, CharSequence { * *+ *{@code * dstbegin + (srcEnd-srcBegin) - 1 - *An invocation of this method of the form * - *
+ *- * sb.subSequence(begin, end){@code + * sb.subSequence(begin, end)}* * behaves in exactly the same way as the invocation * - *+ *- * sb.substring(begin, end){@code + * sb.substring(begin, end)}* * This method is provided so that this class can - * implement the {@link CharSequence} interface. + * implement the {@link CharSequence} interface. * * @param start the start index, inclusive. * @param end the end index, exclusive. @@ -1287,9 +1287,9 @@ abstract class AbstractStringBuilder implements Appendable, CharSequence { * Returns the index within this string of the first occurrence of the * specified substring. The integer returned is the smallest value * k such that: - *+ * } * is {@code true}. * * @param str any string. @@ -1306,10 +1306,10 @@ abstract class AbstractStringBuilder implements Appendable, CharSequence { * Returns the index within this string of the first occurrence of the * specified substring, starting at the specified index. The integer * returned is the smallest value {@code k} for which: - *+ *{@code * this.toString().startsWith(str, k) - *+ * } * If no such value of k exists, then -1 is returned. * * @param str the substring for which to search. @@ -1326,9 +1326,9 @@ abstract class AbstractStringBuilder implements Appendable, CharSequence { * of the specified substring. The rightmost empty string "" is * considered to occur at the index value {@code this.length()}. * The returned index is the largest value k such that - *+ *{@code * k >= Math.min(fromIndex, this.length()) && * this.toString().startsWith(str, k) - *+ * } * is true. * * @param str the substring to search for. @@ -1345,10 +1345,10 @@ abstract class AbstractStringBuilder implements Appendable, CharSequence { * Returns the index within this string of the last occurrence of the * specified substring. The integer returned is the largest value k * such that: - *+ *{@code * this.toString().startsWith(str, k) - *+ * } * If no such value of k exists, then -1 is returned. * * @param str the substring to search for. diff --git a/jdk/src/share/classes/java/lang/ArrayStoreException.java b/jdk/src/share/classes/java/lang/ArrayStoreException.java index aec35f2de34..96fa7447a79 100644 --- a/jdk/src/share/classes/java/lang/ArrayStoreException.java +++ b/jdk/src/share/classes/java/lang/ArrayStoreException.java @@ -29,7 +29,7 @@ package java.lang; * Thrown to indicate that an attempt has been made to store the * wrong type of object into an array of objects. For example, the * following code generates an+ *{@code * k <= Math.min(fromIndex, this.length()) && * this.toString().startsWith(str, k) - *ArrayStoreException
: - *+ *diff --git a/jdk/src/share/classes/java/lang/Byte.java b/jdk/src/share/classes/java/lang/Byte.java index 275e33de5a7..3a894a5f5e2 100644 --- a/jdk/src/share/classes/java/lang/Byte.java +++ b/jdk/src/share/classes/java/lang/Byte.java @@ -244,7 +244,7 @@ public final class Byte extends Number implements Comparable* Object x[] = new String[3]; * x[0] = new Integer(0); *{ * - Signopt {@code 0X} HexDigits *
- Signopt {@code #} HexDigits *
- Signopt {@code 0} OctalDigits - *
+ * *
- Sign: *
- {@code -} *
- {@code +} diff --git a/jdk/src/share/classes/java/lang/Character.java b/jdk/src/share/classes/java/lang/Character.java index 41576cca8d8..0926758b054 100644 --- a/jdk/src/share/classes/java/lang/Character.java +++ b/jdk/src/share/classes/java/lang/Character.java @@ -5394,7 +5394,7 @@ class Character implements java.io.Serializable, Comparable
{ * Other_Lowercase as defined by the Unicode Standard. * * The following are examples of lowercase characters: - *
+ ** a b c d e f g h i j k l m n o p q r s t u v w x y z * '\u00DF' '\u00E0' '\u00E1' '\u00E2' '\u00E3' '\u00E4' '\u00E5' '\u00E6' * '\u00E7' '\u00E8' '\u00E9' '\u00EA' '\u00EB' '\u00EC' '\u00ED' '\u00EE' @@ -5430,7 +5430,7 @@ class Character implements java.io.Serializable, Comparable{ * Other_Lowercase as defined by the Unicode Standard. * * The following are examples of lowercase characters: - *
+ ** a b c d e f g h i j k l m n o p q r s t u v w x y z * '\u00DF' '\u00E0' '\u00E1' '\u00E2' '\u00E3' '\u00E4' '\u00E5' '\u00E6' * '\u00E7' '\u00E8' '\u00E9' '\u00EA' '\u00EB' '\u00EC' '\u00ED' '\u00EE' @@ -5461,14 +5461,14 @@ class Character implements java.io.Serializable, Comparable{ * or it has contributory property Other_Uppercase as defined by the Unicode Standard. * * The following are examples of uppercase characters: - *
+ *- ** A B C D E F G H I J K L M N O P Q R S T U V W X Y Z * '\u00C0' '\u00C1' '\u00C2' '\u00C3' '\u00C4' '\u00C5' '\u00C6' '\u00C7' * '\u00C8' '\u00C9' '\u00CA' '\u00CB' '\u00CC' '\u00CD' '\u00CE' '\u00CF' * '\u00D0' '\u00D1' '\u00D2' '\u00D3' '\u00D4' '\u00D5' '\u00D6' '\u00D8' * '\u00D9' '\u00DA' '\u00DB' '\u00DC' '\u00DD' '\u00DE' *Many other Unicode characters are uppercase too.
+ *
Many other Unicode characters are uppercase too. * *
Note: This method cannot handle supplementary characters. To support @@ -5496,7 +5496,7 @@ class Character implements java.io.Serializable, Comparable
{ * or it has contributory property Other_Uppercase as defined by the Unicode Standard. * * The following are examples of uppercase characters: - *
+ ** A B C D E F G H I J K L M N O P Q R S T U V W X Y Z * '\u00C0' '\u00C1' '\u00C2' '\u00C3' '\u00C4' '\u00C5' '\u00C6' '\u00C7' * '\u00C8' '\u00C9' '\u00CA' '\u00CB' '\u00CC' '\u00CD' '\u00CE' '\u00CF' @@ -5540,7 +5540,7 @@ class Character implements java.io.Serializable, Comparable{ * - {@code LATIN CAPITAL LETTER N WITH SMALL LETTER J} *
- {@code LATIN CAPITAL LETTER D WITH SMALL LETTER Z} * - *
Many other Unicode characters are titlecase too.
+ *
Many other Unicode characters are titlecase too. * *
Note: This method cannot handle supplementary characters. To support diff --git a/jdk/src/share/classes/java/lang/Class.java b/jdk/src/share/classes/java/lang/Class.java index 64376970a97..e11ee1e65e8 100644 --- a/jdk/src/share/classes/java/lang/Class.java +++ b/jdk/src/share/classes/java/lang/Class.java @@ -91,7 +91,7 @@ import sun.reflect.misc.ReflectUtil; *
The following example uses a {@code Class} object to print the * class name of an object: * - *
+ ** void printClassName(Object obj) { * System.out.println("The class of " + obj + * " is " + obj.getClass().getName()); @@ -103,7 +103,7 @@ import sun.reflect.misc.ReflectUtil; * The Java™ Language Specification. * For example: * - *
+ ** {@code System.out.println("The name of class Foo is: "+Foo.class.getName());} ** diff --git a/jdk/src/share/classes/java/lang/ClassCastException.java b/jdk/src/share/classes/java/lang/ClassCastException.java index fc9b2616eff..93b61630d21 100644 --- a/jdk/src/share/classes/java/lang/ClassCastException.java +++ b/jdk/src/share/classes/java/lang/ClassCastException.java @@ -29,7 +29,7 @@ package java.lang; * Thrown to indicate that the code has attempted to cast an object * to a subclass of which it is not an instance. For example, the * following code generates aClassCastException
: - *+ *diff --git a/jdk/src/share/classes/java/lang/Double.java b/jdk/src/share/classes/java/lang/Double.java index 1b1aece8122..690ca6a8dc3 100644 --- a/jdk/src/share/classes/java/lang/Double.java +++ b/jdk/src/share/classes/java/lang/Double.java @@ -361,15 +361,11 @@ public final class Double extends Number implements Comparable* Object x = new Integer(0); * System.out.println((String)x); *{ * - SignedInteger * * - *
- * *
*
* - *- HexFloatingPointLiteral: *
- HexSignificand BinaryExponent FloatTypeSuffixopt *
- * *
*
* - *- HexSignificand: *
- HexNumeral @@ -380,15 +376,11 @@ public final class Double extends Number implements Comparable
{ * {@code .} HexDigits * - * *
*
* - *- BinaryExponent: *
- BinaryExponentIndicator SignedInteger *
- * *
*
* - *- BinaryExponentIndicator: *
- {@code p} diff --git a/jdk/src/share/classes/java/lang/Float.java b/jdk/src/share/classes/java/lang/Float.java index e130e92314e..5cc28f99bff 100644 --- a/jdk/src/share/classes/java/lang/Float.java +++ b/jdk/src/share/classes/java/lang/Float.java @@ -321,15 +321,11 @@ public final class Float extends Number implements Comparable
{ * - SignedInteger *
- * *
*
* - *- HexFloatingPointLiteral: *
- HexSignificand BinaryExponent FloatTypeSuffixopt *
- * *
*
* - *- HexSignificand: *
- HexNumeral @@ -340,15 +336,11 @@ public final class Float extends Number implements Comparable
{ * {@code .} HexDigits * - * *
*
* - *- BinaryExponent: *
- BinaryExponentIndicator SignedInteger *
- * *
*
- BinaryExponentIndicator: *
- {@code p} diff --git a/jdk/src/share/classes/java/lang/Integer.java b/jdk/src/share/classes/java/lang/Integer.java index 7ee4b48855e..c5d971a54ae 100644 --- a/jdk/src/share/classes/java/lang/Integer.java +++ b/jdk/src/share/classes/java/lang/Integer.java @@ -1123,7 +1123,7 @@ public final class Integer extends Number implements Comparable
{ * - Signopt {@code 0X} HexDigits *
- Signopt {@code #} HexDigits *
- Signopt {@code 0} OctalDigits - *
+ * *
- Sign: *
- {@code -} *
- {@code +} diff --git a/jdk/src/share/classes/java/lang/Iterable.java b/jdk/src/share/classes/java/lang/Iterable.java index 0a3ca82f5b4..b6b5f26ba45 100644 --- a/jdk/src/share/classes/java/lang/Iterable.java +++ b/jdk/src/share/classes/java/lang/Iterable.java @@ -99,4 +99,3 @@ public interface Iterable
{ return Spliterators.spliteratorUnknownSize(iterator(), 0); } } - diff --git a/jdk/src/share/classes/java/lang/Long.java b/jdk/src/share/classes/java/lang/Long.java index bfaf0c4412f..fa43fa4d0b5 100644 --- a/jdk/src/share/classes/java/lang/Long.java +++ b/jdk/src/share/classes/java/lang/Long.java @@ -853,7 +853,7 @@ public final class Long extends Number implements Comparable { * - Signopt {@code 0X} HexDigits *
- Signopt {@code #} HexDigits *
- Signopt {@code 0} OctalDigits - *
+ * *
- Sign: *
- {@code -} *
- {@code +} diff --git a/jdk/src/share/classes/java/lang/RuntimePermission.java b/jdk/src/share/classes/java/lang/RuntimePermission.java index 6dcbc275e9e..9da131ba938 100644 --- a/jdk/src/share/classes/java/lang/RuntimePermission.java +++ b/jdk/src/share/classes/java/lang/RuntimePermission.java @@ -47,7 +47,6 @@ import java.util.StringTokenizer; * The following table lists all the possible RuntimePermission target names, * and for each provides a description of what the permission allows * and a discussion of the risks of granting code the permission. - *
* *
diff --git a/jdk/src/share/classes/java/lang/Short.java b/jdk/src/share/classes/java/lang/Short.java index c7641807c56..9fb3913beae 100644 --- a/jdk/src/share/classes/java/lang/Short.java +++ b/jdk/src/share/classes/java/lang/Short.java @@ -249,7 +249,7 @@ public final class Short extends Number implements Comparable
{ * - Signopt {@code 0X} HexDigits *
- Signopt {@code #} HexDigits *
- Signopt {@code 0} OctalDigits - *
+ * *
- Sign: *
- {@code -} *
- {@code +} diff --git a/jdk/src/share/classes/java/lang/String.java b/jdk/src/share/classes/java/lang/String.java index 5c9a8017f14..9223c0ab54f 100644 --- a/jdk/src/share/classes/java/lang/String.java +++ b/jdk/src/share/classes/java/lang/String.java @@ -47,16 +47,16 @@ import java.util.regex.PatternSyntaxException; * Strings are constant; their values cannot be changed after they * are created. String buffers support mutable strings. * Because String objects are immutable they can be shared. For example: - *
+ ** String str = "abc"; ** is equivalent to: - *
+ ** char data[] = {'a', 'b', 'c'}; * String str = new String(data); ** Here are some more examples of how strings can be used: - *
+ ** System.out.println("abc"); * String cde = "cde"; * System.out.println("abc" + cde); @@ -786,7 +786,7 @@ public final class String * {@code srcEnd-srcBegin}). The characters are copied into the * subarray of {@code dst} starting at index {@code dstBegin} * and ending at index: - *+ ** @@ -2662,7 +2662,7 @@ public final class String * {@code String} may be a different length than the original {@code String}. ** dstbegin + (srcEnd-srcBegin) - 1 ** Examples of locale-sensitive and 1:M case mappings are in the following table. - *
+ * *
*
* Language Code of Locale diff --git a/jdk/src/share/classes/java/lang/Thread.java b/jdk/src/share/classes/java/lang/Thread.java index c2f5561bdf4..13d8ac26cad 100644 --- a/jdk/src/share/classes/java/lang/Thread.java +++ b/jdk/src/share/classes/java/lang/Thread.java @@ -76,7 +76,7 @@ import sun.security.util.SecurityConstants; *Thread
. An instance of the subclass can then be * allocated and started. For example, a thread that computes primes * larger than a stated value could be written as follows: - *+ ** class PrimeThread extends Thread { * long minPrime; * PrimeThread(long minPrime) { @@ -91,7 +91,7 @@ import sun.security.util.SecurityConstants; *
** The following code would then create a thread and start it running: - *
+ *@@ -102,7 +102,7 @@ import sun.security.util.SecurityConstants; * then be allocated, passed as an argument when creating ** PrimeThread p = new PrimeThread(143); * p.start(); *Thread
, and started. The same example in this other * style looks like the following: - *+ ** class PrimeRun implements Runnable { * long minPrime; * PrimeRun(long minPrime) { @@ -117,7 +117,7 @@ import sun.security.util.SecurityConstants; *
** The following code would then create a thread and start it running: - *
+ *diff --git a/jdk/src/share/classes/java/lang/management/ManagementFactory.java b/jdk/src/share/classes/java/lang/management/ManagementFactory.java index 6e00706ccd0..0c7297abe95 100644 --- a/jdk/src/share/classes/java/lang/management/ManagementFactory.java +++ b/jdk/src/share/classes/java/lang/management/ManagementFactory.java @@ -60,7 +60,7 @@ import sun.management.ManagementFactoryHelper; * one or more platform MXBeans representing * the management interface of a component of the Java virtual * machine. - ** PrimeRun p = new PrimeRun(143); * new Thread(p).start(); *+ * *
Platform MXBeans
** A platform MXBean is a managed bean that diff --git a/jdk/src/share/classes/java/lang/management/ManagementPermission.java b/jdk/src/share/classes/java/lang/management/ManagementPermission.java index 7f62c5e396a..ae3dc564518 100644 --- a/jdk/src/share/classes/java/lang/management/ManagementPermission.java +++ b/jdk/src/share/classes/java/lang/management/ManagementPermission.java @@ -33,10 +33,8 @@ package java.lang.management; * The following table * provides a summary description of what the permission allows, * and discusses the risks of granting code the permission. - *
* - *
+ *
*
* * Below is a picture showing an example of a memory pool: - ** Permission Target Name *What the Permission Allows diff --git a/jdk/src/share/classes/java/lang/management/MemoryUsage.java b/jdk/src/share/classes/java/lang/management/MemoryUsage.java index bbb75a26484..6d11e323f6d 100644 --- a/jdk/src/share/classes/java/lang/management/MemoryUsage.java +++ b/jdk/src/share/classes/java/lang/management/MemoryUsage.java @@ -79,7 +79,7 @@ import sun.management.MemoryUsageCompositeData; *+ * *
* +----------------------------------------------+ * +//////////////// | + @@ -250,7 +250,7 @@ public class MemoryUsage { * Returns a MemoryUsage object represented by the * given CompositeData. The given CompositeData * must contain the following attributes: - *+ * *
**
diff --git a/jdk/src/share/classes/java/lang/management/package.html b/jdk/src/share/classes/java/lang/management/package.html index 7d2fa99b737..c2c74d0ccdd 100644 --- a/jdk/src/share/classes/java/lang/management/package.html +++ b/jdk/src/share/classes/java/lang/management/package.html @@ -82,7 +82,7 @@ Java virtual machine and the runtime in the following ways: 1. Direct access to an MXBean interface
-
- Get an MXBean instance locally in the running Java virtual machine:
+
- Get an MXBean instance locally in the running Java virtual machine:
RuntimeMXBean mxbean = ManagementFactory.getRuntimeMXBean(); @@ -103,7 +103,7 @@ Java virtual machine and the runtime in the following ways:
- Construct an MXBean proxy instance that forwards the - method calls to a given MBeanServer:
+ method calls to a given MBeanServer:
MBeanServerConnection mbs; diff --git a/jdk/src/share/classes/java/lang/reflect/ReflectPermission.java b/jdk/src/share/classes/java/lang/reflect/ReflectPermission.java index 6570e792242..2674de47caa 100644 --- a/jdk/src/share/classes/java/lang/reflect/ReflectPermission.java +++ b/jdk/src/share/classes/java/lang/reflect/ReflectPermission.java @@ -31,7 +31,6 @@ package java.lang.reflect; * The following table * provides a summary description of what the permission allows, * and discusses the risks of granting code the permission. - ** *
*
- *diff --git a/jdk/src/share/classes/java/net/DatagramSocket.java b/jdk/src/share/classes/java/net/DatagramSocket.java index ab60a263ac7..9f269ffd660 100644 --- a/jdk/src/share/classes/java/net/DatagramSocket.java +++ b/jdk/src/share/classes/java/net/DatagramSocket.java @@ -196,7 +196,7 @@ class DatagramSocket implements java.io.Closeable { * socket address. * ** If, if the address is {@code null}, creates an unbound socket. - *
+ * *
If there is a security manager, * its {@code checkListen} method is first called * with the port from the socket address @@ -1109,7 +1109,7 @@ class DatagramSocket implements java.io.Closeable { * represent the value of the TOS octet in IP packets sent by * the socket. * RFC 1349 defines the TOS values as follows: - *
+ * *
*
- *
IPTOS_LOWCOST (0x02)
- diff --git a/jdk/src/share/classes/java/net/Inet6Address.java b/jdk/src/share/classes/java/net/Inet6Address.java index 068a4ce235d..001c55ffc59 100644 --- a/jdk/src/share/classes/java/net/Inet6Address.java +++ b/jdk/src/share/classes/java/net/Inet6Address.java @@ -133,7 +133,7 @@ import java.util.Arrays; * representation. However, it will be converted into an IPv4 * address.
IPTOS_RELIABILITY (0x04)
+ * *
Textual representation of IPv6 scoped addresses
* *The textual representation of IPv6 addresses as described above can be @@ -150,11 +150,11 @@ import java.util.Arrays; * *
The general format for specifying the scope_id is the following: * - *
IPv6-address%scope_id+ *IPv6-address%scope_id*The IPv6-address is a literal IPv6 address as described above. * The scope_id refers to an interface on the local system, and it can be * specified in two ways. - *
- As a numeric identifier. This must be a positive integer + *
- As a numeric identifier. This must be a positive integer * that identifies the particular interface and scope as understood by the * system. Usually, the numeric values can be determined through administration * tools on the system. Each interface may have multiple values, one for each diff --git a/jdk/src/share/classes/java/net/MulticastSocket.java b/jdk/src/share/classes/java/net/MulticastSocket.java index 9c5cb05acbb..1d42dfe6e87 100644 --- a/jdk/src/share/classes/java/net/MulticastSocket.java +++ b/jdk/src/share/classes/java/net/MulticastSocket.java @@ -140,7 +140,7 @@ class MulticastSocket extends DatagramSocket { * Create a MulticastSocket bound to the specified socket address. *
* Or, if the address is {@code null}, create an unbound socket. - *
+ * *
If there is a security manager, * its {@code checkListen} method is first called * with the SocketAddress port as its argument to ensure the operation is allowed. diff --git a/jdk/src/share/classes/java/net/NetPermission.java b/jdk/src/share/classes/java/net/NetPermission.java index cf7cbd2af67..9178f348723 100644 --- a/jdk/src/share/classes/java/net/NetPermission.java +++ b/jdk/src/share/classes/java/net/NetPermission.java @@ -46,7 +46,6 @@ import java.util.StringTokenizer; * The following table lists all the possible NetPermission target names, * and for each provides a description of what the permission allows * and a discussion of the risks of granting code the permission. - *
* *
*
diff --git a/jdk/src/share/classes/java/net/Proxy.java b/jdk/src/share/classes/java/net/Proxy.java index fe481fadfa2..8ba020ef484 100644 --- a/jdk/src/share/classes/java/net/Proxy.java +++ b/jdk/src/share/classes/java/net/Proxy.java @@ -66,8 +66,8 @@ public class Proxy { * Used, for instance, to create sockets bypassing any other global * proxy settings (like SOCKS): * - * {@code Socket s = new Socket(Proxy.NO_PROXY);}
- *+ * {@code Socket s = new Socket(Proxy.NO_PROXY);} + * */ public final static Proxy NO_PROXY = new Proxy(); diff --git a/jdk/src/share/classes/java/net/Socket.java b/jdk/src/share/classes/java/net/Socket.java index 361260351f5..21cf5aae133 100644 --- a/jdk/src/share/classes/java/net/Socket.java +++ b/jdk/src/share/classes/java/net/Socket.java @@ -1230,13 +1230,13 @@ class Socket implements java.io.Closeable { * Generally, the window size can be modified at any time when a socket is * connected. However, if a receive window larger than 64K is required then * this must be requested before the socket is connected to the - * remote peer. There are two cases to be aware of:
+ * remote peer. There are two cases to be aware of: *
*
+ * connecting the socket to its remote peer. * @param size the size to which to set the receive buffer * size. This value must be greater than 0. * @@ -1329,7 +1329,7 @@ class Socket implements java.io.Closeable { * represent the value of the TOS octet in IP packets sent by * the socket. * RFC 1349 defines the TOS values as follows: - *- For sockets accepted from a ServerSocket, this must be done by calling * {@link ServerSocket#setReceiveBufferSize(int)} before the ServerSocket * is bound to a local address.
*- For client sockets, setReceiveBufferSize() must be called before - * connecting the socket to its remote peer.
+ * *
*
- *
IPTOS_LOWCOST (0x02)
- diff --git a/jdk/src/share/classes/java/net/SocketOptions.java b/jdk/src/share/classes/java/net/SocketOptions.java index b9508dbb266..7e1b0fc85b6 100644 --- a/jdk/src/share/classes/java/net/SocketOptions.java +++ b/jdk/src/share/classes/java/net/SocketOptions.java @@ -134,7 +134,7 @@ public interface SocketOptions { * previously written data. *
IPTOS_RELIABILITY (0x04)
* Valid for TCP only: SocketImpl. - *
+ * * @see Socket#setTcpNoDelay * @see Socket#getTcpNoDelay */ @@ -155,7 +155,7 @@ public interface SocketOptions { * This option must be specified in the constructor. *
* Valid for: SocketImpl, DatagramSocketImpl - *
+ * * @see Socket#getLocalAddress * @see DatagramSocket#getLocalAddress */ @@ -186,7 +186,7 @@ public interface SocketOptions { * want to use other than the system default. Takes/returns an InetAddress. *
* Valid for Multicast: DatagramSocketImpl - *
+ * * @see MulticastSocket#setInterface(InetAddress) * @see MulticastSocket#getInterface() */ diff --git a/jdk/src/share/classes/java/net/SocketPermission.java b/jdk/src/share/classes/java/net/SocketPermission.java index e90856eac8e..1b11437b1aa 100644 --- a/jdk/src/share/classes/java/net/SocketPermission.java +++ b/jdk/src/share/classes/java/net/SocketPermission.java @@ -779,27 +779,27 @@ public final class SocketPermission extends Permission * specified permission. *
* More specifically, this method first ensures that all of the following - * are true (and returns false if any of them are not):
+ * are true (and returns false if any of them are not): *
- *
* * Then {@code implies} checks each of the following, in order, - * and for each returns true if the stated condition is true:- p is an instanceof SocketPermission,
+ *
- p is an instanceof SocketPermission, *
- p's actions are a proper subset of this - * object's actions, and
+ * object's actions, and *
- p's port range is included in this port range. Note: - * port range is ignored when p only contains the action, 'resolve'.
+ * port range is ignored when p only contains the action, 'resolve'. *
+ * and for each returns true if the stated condition is true: *
*
* * If none of the above are true, {@code implies} returns false. diff --git a/jdk/src/share/classes/java/net/URI.java b/jdk/src/share/classes/java/net/URI.java index 71c4f6dc5de..813de5cf453 100644 --- a/jdk/src/share/classes/java/net/URI.java +++ b/jdk/src/share/classes/java/net/URI.java @@ -389,20 +389,20 @@ import java.lang.NullPointerException; // for javadoc * colon following a host name but no port (as in * {@code http://java.sun.com:} ), and that does not encode characters * except those that must be quoted, the following identities also hold: - *- If this object was initialized with a single IP address and one of p's - * IP addresses is equal to this object's IP address.
+ * IP addresses is equal to this object's IP address. *
- If this object is a wildcard domain (such as *.sun.com), and * p's canonical name (the name without any preceding *) * ends with this object's canonical host name. For example, *.sun.com - * implies *.eng.sun.com..
+ * implies *.eng.sun.com. *
- If this object was not initialized with a single IP address, and one of this - * object's IP addresses equals one of p's IP addresses.
- *
- If this canonical name equals p's canonical name.
+ * object's IP addresses equals one of p's IP addresses. + *
- If this canonical name equals p's canonical name. *
+ ** new URI(u.getScheme(), * u.getSchemeSpecificPart(), * u.getFragment()) * .equals(u)* in all cases, - *+ ** new URI(u.getScheme(), * u.getUserInfo(), u.getAuthority(), * u.getPath(), u.getQuery(), * u.getFragment()) * .equals(u)* if u is hierarchical, and - *+ ** new URI(u.getScheme(), * u.getUserInfo(), u.getHost(), u.getPort(), * u.getPath(), u.getQuery(), diff --git a/jdk/src/share/classes/java/net/URLConnection.java b/jdk/src/share/classes/java/net/URLConnection.java index b731ac70d90..785cfc0c9e2 100644 --- a/jdk/src/share/classes/java/net/URLConnection.java +++ b/jdk/src/share/classes/java/net/URLConnection.java @@ -45,7 +45,7 @@ import sun.net.www.MessageHeader; * application and a URL. Instances of this class can be used both to * read from and to write to the resource referenced by the URL. In * general, creating a connection to a URL is a multistep process: - *+ * *
*
diff --git a/jdk/src/share/classes/java/net/URLDecoder.java b/jdk/src/share/classes/java/net/URLDecoder.java index eb5e36e5d82..acf10e98244 100644 --- a/jdk/src/share/classes/java/net/URLDecoder.java +++ b/jdk/src/share/classes/java/net/URLDecoder.java @@ -43,7 +43,7 @@ import java.io.*; * as the start of a special escaped sequence. * {@code openConnection()} *{@code connect()} * The following rules are applied in the conversion: - *
+ * *
*
- The alphanumeric characters "{@code a}" through * "{@code z}", "{@code A}" through diff --git a/jdk/src/share/classes/java/net/URLEncoder.java b/jdk/src/share/classes/java/net/URLEncoder.java index b5c4a8c32f9..7b05e1cde79 100644 --- a/jdk/src/share/classes/java/net/URLEncoder.java +++ b/jdk/src/share/classes/java/net/URLEncoder.java @@ -49,7 +49,6 @@ import sun.security.action.GetPropertyAction; *
* When encoding a String, the following rules apply: * - *
*
*
- The alphanumeric characters "{@code a}" through * "{@code z}", "{@code A}" through diff --git a/jdk/src/share/classes/java/net/URLPermission.java b/jdk/src/share/classes/java/net/URLPermission.java index f6572cd3575..2a6568f07a8 100644 --- a/jdk/src/share/classes/java/net/URLPermission.java +++ b/jdk/src/share/classes/java/net/URLPermission.java @@ -45,7 +45,7 @@ import java.security.Permission; * * scheme will typically be http or https, but is not restricted by this * class. - * authority is specified as:
+ * authority is specified as: *
* authority = hostrange [ : portrange ] * portrange = portnumber | -portnumber | portnumber-[portnumber] | * @@ -223,7 +223,7 @@ public final class URLPermission extends Permission { * Checks if this URLPermission implies the given permission. * Specifically, the following checks are done as if in the * following sequence: - *+ *
*
*- if 'p' is not an instance of URLPermission return false
*- if any of p's methods are not in this's method list, and if * this's method list is not equal to "*", then return false.
@@ -242,7 +242,7 @@ public final class URLPermission extends Permission { *- otherwise, return false
*Some examples of how paths are matched are shown below: - *
+ *
*
Examples of Path Matching ** this's path p's path match diff --git a/jdk/src/share/classes/java/net/package-info.java b/jdk/src/share/classes/java/net/package-info.java index 6552b30b634..fda2e4f28b8 100644 --- a/jdk/src/share/classes/java/net/package-info.java +++ b/jdk/src/share/classes/java/net/package-info.java @@ -127,9 +127,9 @@ * resources, then convert it into a {@link java.net.URL} when it is time to * access the resource. From that URL, you can either get the * {@link java.net.URLConnection} for fine control, or get directly the - * InputStream. /a/b /a/b yes + * InputStream. *
Here is an example:
- *+ ** URI uri = new URI("http://java.sun.com/"); * URL url = uri.toURL(); * InputStream in = url.openStream(); @@ -147,7 +147,7 @@ * the {@code java.protocol.handler.pkgs} system property. For instance if * it is set to {@code myapp.protocols}, then the URL code will try, in the * case of http, first to load {@code myapp.protocols.http.Handler}, then, - * if this fails, {@code http.Handler} from the default location.* The system will return a keystore implementation for the default type. - *+ * if this fails, {@code http.Handler} from the default location. *
Note that the Handler class has to be a subclass of the abstract * class {@link java.net.URLStreamHandler}.
*Additional Specification
diff --git a/jdk/src/share/classes/java/nio/X-Buffer.java.template b/jdk/src/share/classes/java/nio/X-Buffer.java.template index 60f0733c9ab..acc8fc89912 100644 --- a/jdk/src/share/classes/java/nio/X-Buffer.java.template +++ b/jdk/src/share/classes/java/nio/X-Buffer.java.template @@ -1129,7 +1129,7 @@ public abstract class $Type$Buffer * *Two $type$ buffers are equal if, and only if, * - *
+ *
* *
- * diff --git a/jdk/src/share/classes/java/nio/file/FileSystem.java b/jdk/src/share/classes/java/nio/file/FileSystem.java index 2296cada829..2a961fb8ecf 100644 --- a/jdk/src/share/classes/java/nio/file/FileSystem.java +++ b/jdk/src/share/classes/java/nio/file/FileSystem.java @@ -355,7 +355,7 @@ public abstract class FileSystem * *
They have the same element type,
The following rules are used to interpret glob patterns: * - *
+ *
*
- diff --git a/jdk/src/share/classes/java/rmi/activation/ActivationGroup.java b/jdk/src/share/classes/java/rmi/activation/ActivationGroup.java index 49dffd18e0e..9d33b11d5b6 100644 --- a/jdk/src/share/classes/java/rmi/activation/ActivationGroup.java +++ b/jdk/src/share/classes/java/rmi/activation/ActivationGroup.java @@ -154,21 +154,21 @@ public abstract class ActivationGroup * active). If the object does not call *
The {@code *} character matches zero or more {@link Character * characters} of a {@link Path#getName(int) name} component without * crossing directory boundaries.
Activatable.inactive
when it deactivates, the * object will never be garbage collected since the group keeps - * strong references to the objects it creates.+ * strong references to the objects it creates. * *
The group's
inactiveObject
method unexports the * remote object from the RMI runtime so that the object can no * longer receive incoming RMI calls. An object will only be unexported * if the object has no pending or executing calls. * The subclass ofActivationGroup
must override this - * method and unexport the object.+ * method and unexport the object. * *
After removing the object from the RMI runtime, the group * must inform its
ActivationMonitor
(via the monitor's *inactiveObject
method) that the remote object is * not currently active so that the remote object will be * re-activated by the activator upon a subsequent activation - * request.+ * request. * *
This method simply informs the group's monitor that the object * is inactive. It is up to the concrete subclass of ActivationGroup diff --git a/jdk/src/share/classes/java/rmi/dgc/VMID.java b/jdk/src/share/classes/java/rmi/dgc/VMID.java index 45e58599d66..913c598be2e 100644 --- a/jdk/src/share/classes/java/rmi/dgc/VMID.java +++ b/jdk/src/share/classes/java/rmi/dgc/VMID.java @@ -67,7 +67,7 @@ public final class VMID implements java.io.Serializable { * conditions: a) the conditions for uniqueness for objects of * the class
java.rmi.server.UID
are satisfied, and b) an * address can be obtained for this host that is unique and constant - * for the lifetime of this object.+ * for the lifetime of this object. */ public VMID() { addr = randomBytes; diff --git a/jdk/src/share/classes/java/rmi/server/UnicastRemoteObject.java b/jdk/src/share/classes/java/rmi/server/UnicastRemoteObject.java index be86c275246..80cab6f9ba1 100644 --- a/jdk/src/share/classes/java/rmi/server/UnicastRemoteObject.java +++ b/jdk/src/share/classes/java/rmi/server/UnicastRemoteObject.java @@ -36,7 +36,7 @@ import sun.rmi.server.UnicastServerRef2; * below, the stub for a remote object being exported is obtained as * follows: * - *
+ *
* *
- If the remote object is exported using the {@link * #exportObject(Remote) UnicastRemoteObject.exportObject(Remote)} method, @@ -66,9 +66,8 @@ import sun.rmi.server.UnicastServerRef2; * could not be loaded, or a problem occurs creating the stub instance, a * {@link StubNotFoundException} is thrown. * - *
*
- For all other means of exporting: - *
+ *
* *
* - *- If the remote object's stub class (as defined above) could not be * loaded or the system property @@ -93,7 +92,6 @@ import sun.rmi.server.UnicastServerRef2; * will be thrown. *
*
- Otherwise, an instance of the remote object's stub class (as * described above) is used as the stub. * diff --git a/jdk/src/share/classes/java/security/AccessController.java b/jdk/src/share/classes/java/security/AccessController.java index 89392261fe1..36408a8d633 100644 --- a/jdk/src/share/classes/java/security/AccessController.java +++ b/jdk/src/share/classes/java/security/AccessController.java @@ -39,9 +39,9 @@ import sun.reflect.Reflection; *
*
diff --git a/jdk/src/share/classes/java/security/AlgorithmParameterGenerator.java b/jdk/src/share/classes/java/security/AlgorithmParameterGenerator.java index 307aaaf17eb..7f9c7cbf4ab 100644 --- a/jdk/src/share/classes/java/security/AlgorithmParameterGenerator.java +++ b/jdk/src/share/classes/java/security/AlgorithmParameterGenerator.java @@ -48,7 +48,7 @@ import java.security.spec.AlgorithmParameterSpec; * of the prime modulus (in bits). * When using this approach, algorithm-specific parameter generation * values - if any - default to some standard values, unless they can be - * derived from the specified size.- to decide whether an access to a critical system * resource is to be allowed or denied, based on the security policy - * currently in effect,
+ * currently in effect, *
- to mark code as being "privileged", thus affecting subsequent - * access determinations, and
+ * access determinations, and *
- to obtain a "snapshot" of the current calling context so * access-control decisions from a different context can be made with * respect to the saved context.
+ * derived from the specified size. * *
- The other approach initializes a parameter generator object * using algorithm-specific semantics, which are represented by a set of diff --git a/jdk/src/share/classes/java/security/BasicPermission.java b/jdk/src/share/classes/java/security/BasicPermission.java index 2d0c96665ee..89cc2f92152 100644 --- a/jdk/src/share/classes/java/security/BasicPermission.java +++ b/jdk/src/share/classes/java/security/BasicPermission.java @@ -57,7 +57,6 @@ import java.io.IOException; * Subclasses may implement actions on top of BasicPermission, * if desired. *
- *
* @see java.security.Permission * @see java.security.Permissions * @see java.security.PermissionCollection @@ -153,9 +152,9 @@ public abstract class BasicPermission extends Permission * Checks if the specified permission is "implied" by * this object. *
- * More specifically, this method returns true if:
+ * More specifically, this method returns true if: *
- *
- p's class is the same as this object's class, and
+ *
- p's class is the same as this object's class, and *
- p's name equals or (in the case of wildcards) * is implied by this object's * name. For example, "a.b.*" implies "a.b.c". diff --git a/jdk/src/share/classes/java/security/CodeSource.java b/jdk/src/share/classes/java/security/CodeSource.java index b6167cb008b..62a5959ecd8 100644 --- a/jdk/src/share/classes/java/security/CodeSource.java +++ b/jdk/src/share/classes/java/security/CodeSource.java @@ -234,7 +234,7 @@ public class CodeSource implements java.io.Serializable { * Returns true if this CodeSource object "implies" the specified CodeSource. *
* More specifically, this method makes the following checks. - * If any fail, it returns false. If they all succeed, it returns true.
+ * If any fail, it returns false. If they all succeed, it returns true. *
*
- codesource must not be null. *
- If this object's certificates are not null, then all @@ -242,7 +242,7 @@ public class CodeSource implements java.io.Serializable { * certificates. *
- If this object's location (getLocation()) is not null, then the * following checks are made against this object's location and - * codesource's:
+ * codesource's: *
*
* diff --git a/jdk/src/share/classes/java/security/KeyPairGenerator.java b/jdk/src/share/classes/java/security/KeyPairGenerator.java index 78b100c3afa..c09d2510294 100644 --- a/jdk/src/share/classes/java/security/KeyPairGenerator.java +++ b/jdk/src/share/classes/java/security/KeyPairGenerator.java @@ -77,7 +77,6 @@ import sun.security.jca.GetInstance.Instance; * providers might have precomputed parameter sets for more than just the * three modulus sizes mentioned above. Still others might not have a list of * precomputed parameters at all and instead always create new parameter sets. - *- codesource's location must not be null. * diff --git a/jdk/src/share/classes/java/security/Key.java b/jdk/src/share/classes/java/security/Key.java index 0ae4e3851b3..c0c63d7c7c1 100644 --- a/jdk/src/share/classes/java/security/Key.java +++ b/jdk/src/share/classes/java/security/Key.java @@ -39,7 +39,7 @@ package java.security; * RSA), which will work with those algorithms and with related * algorithms (such as MD5 with RSA, SHA-1 with RSA, Raw DSA, etc.) * The name of the algorithm of a key is obtained using the - * {@link #getAlgorithm() getAlgorithm} method.
+ * {@link #getAlgorithm() getAlgorithm} method. * *
- An Encoded Form * @@ -65,12 +65,11 @@ package java.security; * For more information, see * RFC 3280: * Internet X.509 Public Key Infrastructure Certificate and CRL Profile. - *
* *
- A Format * *
This is the name of the format of the encoded key. It is returned - * by the {@link #getFormat() getFormat} method.
+ * by the {@link #getFormat() getFormat} method. * *
* *
- Algorithm-Specific Initialization *
For situations where a set of algorithm-specific parameters already diff --git a/jdk/src/share/classes/java/security/KeyStore.java b/jdk/src/share/classes/java/security/KeyStore.java index e769bb158e1..19c05a87d4f 100644 --- a/jdk/src/share/classes/java/security/KeyStore.java +++ b/jdk/src/share/classes/java/security/KeyStore.java @@ -98,7 +98,6 @@ import javax.security.auth.callback.*; * KeyStore ks = KeyStore.getInstance(KeyStore.getDefaultType()); *
* *
- To provide a specific keystore type: *
diff --git a/jdk/src/share/classes/java/security/MessageDigest.java b/jdk/src/share/classes/java/security/MessageDigest.java index fa686785c45..60d41ffac72 100644 --- a/jdk/src/share/classes/java/security/MessageDigest.java +++ b/jdk/src/share/classes/java/security/MessageDigest.java @@ -54,21 +54,21 @@ import java.nio.ByteBuffer; * *Implementations are free to implement the Cloneable interface. * Client applications can test cloneability by attempting cloning - * and catching the CloneNotSupportedException:
+ * and catching the CloneNotSupportedException: * -*
-* MessageDigest md = MessageDigest.getInstance("SHA"); -* -* try { -* md.update(toChapter1); -* MessageDigest tc1 = md.clone(); -* byte[] toChapter1Digest = tc1.digest(); -* md.update(toChapter2); -* ...etc. -* } catch (CloneNotSupportedException cnse) { -* throw new DigestException("couldn't make digest of partial content"); -* } -*+ *{@code + * MessageDigest md = MessageDigest.getInstance("SHA"); + * + * try { + * md.update(toChapter1); + * MessageDigest tc1 = md.clone(); + * byte[] toChapter1Digest = tc1.digest(); + * md.update(toChapter2); + * ...etc. + * } catch (CloneNotSupportedException cnse) { + * throw new DigestException("couldn't make digest of partial content"); + * } + * }* *Note that if a given implementation is not cloneable, it is * still possible to compute intermediate digests by instantiating diff --git a/jdk/src/share/classes/java/security/Permission.java b/jdk/src/share/classes/java/security/Permission.java index dfa7163b435..088f97c35a6 100644 --- a/jdk/src/share/classes/java/security/Permission.java +++ b/jdk/src/share/classes/java/security/Permission.java @@ -138,14 +138,14 @@ public abstract class Permission implements Guard, java.io.Serializable { * Returns the hash code value for this Permission object. *
* The required {@code hashCode} behavior for Permission Objects is - * the following:
+ * the following: *
*
- *- Whenever it is invoked on the same Permission object more than * once during an execution of a Java application, the * {@code hashCode} method * must consistently return the same integer. This integer need not * remain consistent from one execution of an application to another - * execution of the same application.
+ * execution of the same application. *
- If two Permission objects are equal according to the * {@code equals} * method, then calling the {@code hashCode} method on each of the diff --git a/jdk/src/share/classes/java/security/PermissionCollection.java b/jdk/src/share/classes/java/security/PermissionCollection.java index 58b7bdfd99f..3f13b9f93d5 100644 --- a/jdk/src/share/classes/java/security/PermissionCollection.java +++ b/jdk/src/share/classes/java/security/PermissionCollection.java @@ -37,7 +37,6 @@ import java.util.*; * collection, using the {@code implies} method. *
- enumerate all the permissions, using the {@code elements} method. *
* *
When it is desirable to group together a number of Permission objects * of the same type, the {@code newPermissionCollection} method on that diff --git a/jdk/src/share/classes/java/security/SecurityPermission.java b/jdk/src/share/classes/java/security/SecurityPermission.java index bbdccaeffe3..5bb74569d3f 100644 --- a/jdk/src/share/classes/java/security/SecurityPermission.java +++ b/jdk/src/share/classes/java/security/SecurityPermission.java @@ -44,7 +44,6 @@ import java.util.StringTokenizer; * The following table lists all the possible SecurityPermission target names, * and for each provides a description of what the permission allows * and a discussion of the risks of granting code the permission. - *
* *
*
@@ -193,7 +192,6 @@ import java.util.StringTokenizer; * associated with classes that have been deprecated: {@link Identity}, * {@link IdentityScope}, {@link Signer}. Use of them is discouraged. See the * applicable classes for more information. - * * *
*
diff --git a/jdk/src/share/classes/java/security/Signature.java b/jdk/src/share/classes/java/security/Signature.java index a40290f8c99..7c5bd96eb28 100644 --- a/jdk/src/share/classes/java/security/Signature.java +++ b/jdk/src/share/classes/java/security/Signature.java @@ -77,13 +77,13 @@ import sun.security.jca.GetInstance.Instance; * (see {@link #initSign(PrivateKey)} * and {@link #initSign(PrivateKey, SecureRandom)}). * - * + * * - *
- Updating
+ *
- Updating * *
Depending on the type of initialization, this will update the * bytes to be signed or verified. See the - * {@link #update(byte) update} methods.
+ * {@link #update(byte) update} methods. * *
- Signing or Verifying a signature on all updated bytes. See the * {@link #sign() sign} methods and the {@link #verify(byte[]) verify} diff --git a/jdk/src/share/classes/java/security/SignedObject.java b/jdk/src/share/classes/java/security/SignedObject.java index dba803d88e4..9ac864ee8a4 100644 --- a/jdk/src/share/classes/java/security/SignedObject.java +++ b/jdk/src/share/classes/java/security/SignedObject.java @@ -43,7 +43,7 @@ import java.io.*; * object passed to the constructor and the {@code verify} method. * A typical usage for signing is the following: * - *
{@code + *{@code * Signature signingEngine = Signature.getInstance(algorithm, * provider); * SignedObject so = new SignedObject(myobject, signingKey, @@ -53,7 +53,7 @@ import java.io.*; *A typical usage for verification is the following (having * received SignedObject {@code so}): * - *
{@code + *{@code * Signature verificationEngine = * Signature.getInstance(algorithm, provider); * if (so.verify(publickey, verificationEngine)) diff --git a/jdk/src/share/classes/java/security/acl/Acl.java b/jdk/src/share/classes/java/security/acl/Acl.java index e7b6a21b28c..b9cf0041d2f 100644 --- a/jdk/src/share/classes/java/security/acl/Acl.java +++ b/jdk/src/share/classes/java/security/acl/Acl.java @@ -42,27 +42,27 @@ import java.security.Principal; * granted to the associated principal. If negative, the permissions * are to be denied.* - * The ACL Entries in each ACL observe the following rules:
+ * The ACL Entries in each ACL observe the following rules: * *
* @@ -159,12 +159,12 @@ public interface Acl extends Owner { * Returns an enumeration for the set of allowed permissions for the * specified principal (representing an entity such as an individual or * a group). This set of allowed permissions is calculated as - * follows:
- Each principal can have at most one positive ACL entry and * one negative entry; that is, multiple positive or negative ACL * entries are not allowed for any principal. Each entry specifies * the set of permissions that are to be granted (if positive) or - * denied (if negative).
+ * denied (if negative). * *
- If there is no entry for a particular principal, then the - * principal is considered to have a null (empty) permission set.
+ * principal is considered to have a null (empty) permission set. * *
- If there is a positive entry that grants a principal a * particular permission, and a negative entry that denies the * principal the same permission, the result is as though the - * permission was never granted or denied.
+ * permission was never granted or denied. * *
- Individual permissions always override permissions of the * group(s) to which the individual belongs. That is, individual * negative permissions (specific denial of permissions) override the * groups' positive permissions. And individual positive permissions - * override the groups' negative permissions.
+ * override the groups' negative permissions. * *
+ * follows: * *
* *
- If there is no entry in this Access Control List for the - * specified principal, an empty permission set is returned.
+ * specified principal, an empty permission set is returned. * *
- Otherwise, the principal's group permission sets are determined. * (A principal can belong to one or more groups, where a group is a diff --git a/jdk/src/share/classes/java/security/cert/CertificateFactory.java b/jdk/src/share/classes/java/security/cert/CertificateFactory.java index 83ff9fbee92..f45866d1b74 100644 --- a/jdk/src/share/classes/java/security/cert/CertificateFactory.java +++ b/jdk/src/share/classes/java/security/cert/CertificateFactory.java @@ -63,7 +63,7 @@ import sun.security.jca.GetInstance.Instance; * supports those methods), so that each call to * {@code generateCertificate} consumes only one certificate, and the * read position of the input stream is positioned to the next certificate in - * the file:
+ * the file: * *
{@code * FileInputStream fis = new FileInputStream(filename); @@ -78,7 +78,7 @@ import sun.security.jca.GetInstance.Instance; * }* *The following example parses a PKCS#7-formatted certificate reply stored - * in a file and extracts all the certificates from it:
+ * in a file and extracts all the certificates from it: * *
* FileInputStream fis = new FileInputStream(filename); diff --git a/jdk/src/share/classes/java/security/cert/PKIXRevocationChecker.java b/jdk/src/share/classes/java/security/cert/PKIXRevocationChecker.java index 3046a03ed23..a345c96cac8 100644 --- a/jdk/src/share/classes/java/security/cert/PKIXRevocationChecker.java +++ b/jdk/src/share/classes/java/security/cert/PKIXRevocationChecker.java @@ -299,7 +299,7 @@ public abstract class PKIXRevocationChecker extends PKIXCertPathChecker { /** * Allow revocation check to succeed if the revocation status cannot be * determined for one of the following reasons: - *+ *
*
- The CRL or OCSP response cannot be obtained because of a * network error. *
- The OCSP responder returns one of the following errors diff --git a/jdk/src/share/classes/java/security/cert/PolicyQualifierInfo.java b/jdk/src/share/classes/java/security/cert/PolicyQualifierInfo.java index bc083eb7a43..ec06a88ae58 100644 --- a/jdk/src/share/classes/java/security/cert/PolicyQualifierInfo.java +++ b/jdk/src/share/classes/java/security/cert/PolicyQualifierInfo.java @@ -35,7 +35,7 @@ import sun.security.util.DerValue; * structure. * *
The ASN.1 definition is as follows: - *
+ ** PolicyQualifierInfo ::= SEQUENCE { * policyQualifierId PolicyQualifierId, * qualifier ANY DEFINED BY policyQualifierId } diff --git a/jdk/src/share/classes/java/security/cert/TrustAnchor.java b/jdk/src/share/classes/java/security/cert/TrustAnchor.java index fe267a52f66..c98bf814caf 100644 --- a/jdk/src/share/classes/java/security/cert/TrustAnchor.java +++ b/jdk/src/share/classes/java/security/cert/TrustAnchor.java @@ -44,7 +44,6 @@ import sun.security.x509.X500Name; * individual parameters. ** Concurrent Access - *
*
All {@code TrustAnchor} objects must be immutable and * thread-safe. That is, multiple threads may concurrently invoke the * methods defined in this class on a single {@code TrustAnchor} diff --git a/jdk/src/share/classes/java/security/cert/X509CertSelector.java b/jdk/src/share/classes/java/security/cert/X509CertSelector.java index e44dba125e4..aae32c93f44 100644 --- a/jdk/src/share/classes/java/security/cert/X509CertSelector.java +++ b/jdk/src/share/classes/java/security/cert/X509CertSelector.java @@ -359,7 +359,7 @@ public class X509CertSelector implements CertSelector { * criticality setting, and encapsulating OCTET STRING) * for a SubjectKeyIdentifier extension. * The ASN.1 notation for this structure follows. - *
+ * *
{@code * SubjectKeyIdentifier ::= KeyIdentifier * @@ -399,7 +399,7 @@ public class X509CertSelector implements CertSelector { * criticality setting, and encapsulating OCTET STRING) * for an AuthorityKeyIdentifier extension. * The ASN.1 notation for this structure follows. - *+ * *
{@code * AuthorityKeyIdentifier ::= SEQUENCE { * keyIdentifier [0] KeyIdentifier OPTIONAL, diff --git a/jdk/src/share/classes/java/security/interfaces/DSAKeyPairGenerator.java b/jdk/src/share/classes/java/security/interfaces/DSAKeyPairGenerator.java index 390835725b9..e50cfd24c4b 100644 --- a/jdk/src/share/classes/java/security/interfaces/DSAKeyPairGenerator.java +++ b/jdk/src/share/classes/java/security/interfaces/DSAKeyPairGenerator.java @@ -43,11 +43,11 @@ import java.security.*; * *- Get a key pair generator for the DSA algorithm by calling the * KeyPairGenerator {@code getInstance} method with "DSA" - * as its argument.
+ * as its argument. * *
- Initialize the generator by casting the result to a DSAKeyPairGenerator * and calling one of the - * {@code initialize} methods from this DSAKeyPairGenerator interface.
+ * {@code initialize} methods from this DSAKeyPairGenerator interface. * *
- Generate a key pair by calling the {@code generateKeyPair} * method from the KeyPairGenerator class. diff --git a/jdk/src/share/classes/java/text/MessageFormat.java b/jdk/src/share/classes/java/text/MessageFormat.java index 402a7fa52d9..2497a490eb0 100644 --- a/jdk/src/share/classes/java/text/MessageFormat.java +++ b/jdk/src/share/classes/java/text/MessageFormat.java @@ -125,7 +125,6 @@ import java.util.Locale; * valid patterns, but
"ab {0'}' de"
,"ab } de"
* and"''{''"
are not. * - **
- Warning:
- The rules for using quotes within message * format patterns unfortunately have shown to be somewhat confusing. * In particular, it isn't always obvious to localizers whether single @@ -146,7 +145,7 @@ import java.util.Locale; * table shows how the values map to {@code Format} instances. Combinations not * shown in the table are illegal. A SubformatPattern must * be a valid pattern string for the {@code Format} subclass used. - *
+ * *
*
- ** FormatType @@ -215,7 +214,6 @@ import java.util.Locale; * SubformatPattern * {@code new} {@link ChoiceFormat#ChoiceFormat(String) ChoiceFormat}{@code (subformatPattern)} * * *
Usage Information
* @@ -761,7 +759,7 @@ public class MessageFormat extends Format { * as indicated by the first matching line of the following table. An * argument is unavailable ifarguments
is *null
or has fewer than argumentIndex+1 elements. - *+ * *
*
* Subformat diff --git a/jdk/src/share/classes/java/text/Normalizer.java b/jdk/src/share/classes/java/text/Normalizer.java index 88fdf2b29da..a97b4c1d9d9 100644 --- a/jdk/src/share/classes/java/text/Normalizer.java +++ b/jdk/src/share/classes/java/text/Normalizer.java @@ -53,12 +53,12 @@ import sun.text.normalizer.NormalizerImpl; * several different ways in Unicode. For example, take the character A-acute. * In Unicode, this can be encoded as a single character (the "composed" form): * - * + ** U+00C1 LATIN CAPITAL LETTER A WITH ACUTE* * or as two separate characters (the "decomposed" form): * - *+ ** U+0041 LATIN CAPITAL LETTER A * U+0301 COMBINING ACUTE ACCENT* @@ -72,14 +72,14 @@ import sun.text.normalizer.NormalizerImpl; ** Similarly, the string "ffi" can be encoded as three separate letters: * - *
+ ** U+0066 LATIN SMALL LETTER F * U+0066 LATIN SMALL LETTER F * U+0069 LATIN SMALL LETTER I* * or as the single character * - *+ ** U+FB03 LATIN SMALL LIGATURE FFI* * The ffi ligature is not a distinct semantic character, and strictly speaking diff --git a/jdk/src/share/classes/java/text/SimpleDateFormat.java b/jdk/src/share/classes/java/text/SimpleDateFormat.java index fa9f673b8b8..c510d2d78a6 100644 --- a/jdk/src/share/classes/java/text/SimpleDateFormat.java +++ b/jdk/src/share/classes/java/text/SimpleDateFormat.java @@ -356,7 +356,6 @@ import sun.util.locale.provider.LocaleProviderAdapter; * may be replaced with other, locale dependent, pattern letters. *SimpleDateFormat
does not deal with the localization of text * other than the pattern letters; that's up to the client of the class. - ** *
Examples
* diff --git a/jdk/src/share/classes/java/util/Base64.java b/jdk/src/share/classes/java/util/Base64.java index 39da03b7e3c..9418b7169e2 100644 --- a/jdk/src/share/classes/java/util/Base64.java +++ b/jdk/src/share/classes/java/util/Base64.java @@ -40,7 +40,6 @@ import java.nio.charset.StandardCharsets; * RFC 4648 and * RFC 2045. * - **
*
- Basic *
Uses "The Base64 Alphabet" as specified in Table 1 of diff --git a/jdk/src/share/classes/java/util/BitSet.java b/jdk/src/share/classes/java/util/BitSet.java index c7c3143221f..721d160dc77 100644 --- a/jdk/src/share/classes/java/util/BitSet.java +++ b/jdk/src/share/classes/java/util/BitSet.java @@ -1164,10 +1164,10 @@ public class BitSet implements Cloneable, java.io.Serializable { *
Example: *
* BitSet drPepper = new BitSet();- * Now {@code drPepper.toString()} returns "{@code {}}".+ * Now {@code drPepper.toString()} returns "{@code {}}". *
* drPepper.set(2);- * Now {@code drPepper.toString()} returns "{@code {2}}".+ * Now {@code drPepper.toString()} returns "{@code {2}}". *
* drPepper.set(4); * drPepper.set(10);diff --git a/jdk/src/share/classes/java/util/Deque.java b/jdk/src/share/classes/java/util/Deque.java index f6511417f33..3ed3ab8f667 100644 --- a/jdk/src/share/classes/java/util/Deque.java +++ b/jdk/src/share/classes/java/util/Deque.java @@ -56,7 +56,6 @@ package java.util; *The twelve methods described above are summarized in the * following table: * - *
*
*
Summary of Deque methods *@@ -100,7 +99,6 @@ package java.util; * inherited from the {@code Queue} interface are precisely equivalent to * {@code Deque} methods as indicated in the following table: * - * *
*
Comparison of Queue and Deque methods *@@ -139,7 +137,6 @@ package java.util; * beginning of the deque. Stack methods are precisely equivalent to * {@code Deque} methods as indicated in the table below: * - * *
*
Comparison of Stack and Deque methods *diff --git a/jdk/src/share/classes/java/util/Locale.java b/jdk/src/share/classes/java/util/Locale.java index 6ecd39393fd..54050c65fa8 100644 --- a/jdk/src/share/classes/java/util/Locale.java +++ b/jdk/src/share/classes/java/util/Locale.java @@ -1248,7 +1248,7 @@ public final class Locale implements Cloneable, Serializable { * Returns a string representation of this Locale
* object, consisting of language, country, variant, script, * and extensions as below: - *+ ** language + "_" + country + "_" + (variant + "_#" | "#") + script + "-" + extensions ** @@ -2199,7 +2199,7 @@ public final class Locale implements Cloneable, Serializable { * are exactly "ja", "JP", "JP" or "th", "TH", "TH" and script/extensions * fields are empty, this method suppliesUNICODE_LOCALE_EXTENSION
* "ca"/"japanese" (calendar type is "japanese") or "nu"/"thai" (number script - * type is "thai"). See Special Cases + * type is "thai"). See Special Cases * for more information. * * @return an instance ofLocale
equivalent to diff --git a/jdk/src/share/classes/java/util/Properties.java b/jdk/src/share/classes/java/util/Properties.java index 073c7771630..aba5fd1a339 100644 --- a/jdk/src/share/classes/java/util/Properties.java +++ b/jdk/src/share/classes/java/util/Properties.java @@ -244,7 +244,6 @@ class Properties extends Hashtable