# HG changeset patch # User alanb # Date 1370865512 -3600 # Node ID edb590d448c5a88ac7d24699aa2b202797262a3d # Parent 889970e5b728bf2ecfd03253bb3264db5c769dff 8016217: More javadoc warnings Reviewed-by: lancea, chegar, psandoz diff -r 889970e5b728 -r edb590d448c5 jdk/src/share/classes/java/io/BufferedInputStream.java --- a/jdk/src/share/classes/java/io/BufferedInputStream.java Mon Jun 10 12:26:20 2013 +0200 +++ b/jdk/src/share/classes/java/io/BufferedInputStream.java Mon Jun 10 12:58:32 2013 +0100 @@ -185,7 +185,7 @@ * * @param in the underlying input stream. * @param size the buffer size. - * @exception IllegalArgumentException if size <= 0. + * @exception IllegalArgumentException if {@code size <= 0}. */ public BufferedInputStream(InputStream in, int size) { super(in); diff -r 889970e5b728 -r edb590d448c5 jdk/src/share/classes/java/io/BufferedReader.java --- a/jdk/src/share/classes/java/io/BufferedReader.java Mon Jun 10 12:26:20 2013 +0200 +++ b/jdk/src/share/classes/java/io/BufferedReader.java Mon Jun 10 12:58:32 2013 +0100 @@ -95,7 +95,7 @@ * @param in A Reader * @param sz Input-buffer size * - * @exception IllegalArgumentException If sz is <= 0 + * @exception IllegalArgumentException If {@code sz <= 0} */ public BufferedReader(Reader in, int sz) { super(in); @@ -484,7 +484,7 @@ * whose size is no smaller than limit. * Therefore large values should be used with care. * - * @exception IllegalArgumentException If readAheadLimit is < 0 + * @exception IllegalArgumentException If {@code readAheadLimit < 0} * @exception IOException If an I/O error occurs */ public void mark(int readAheadLimit) throws IOException { diff -r 889970e5b728 -r edb590d448c5 jdk/src/share/classes/java/io/BufferedWriter.java --- a/jdk/src/share/classes/java/io/BufferedWriter.java Mon Jun 10 12:26:20 2013 +0200 +++ b/jdk/src/share/classes/java/io/BufferedWriter.java Mon Jun 10 12:58:32 2013 +0100 @@ -95,7 +95,7 @@ * @param out A Writer * @param sz Output-buffer size, a positive integer * - * @exception IllegalArgumentException If sz is <= 0 + * @exception IllegalArgumentException If {@code sz <= 0} */ public BufferedWriter(Writer out, int sz) { super(out); diff -r 889970e5b728 -r edb590d448c5 jdk/src/share/classes/java/io/Console.java --- a/jdk/src/share/classes/java/io/Console.java Mon Jun 10 12:26:20 2013 +0200 +++ b/jdk/src/share/classes/java/io/Console.java Mon Jun 10 12:58:32 2013 +0100 @@ -75,7 +75,7 @@ * manually zero the returned character array after processing to minimize the * lifetime of sensitive data in memory. * - *
+ * 
{@code
  * Console cons;
  * char[] passwd;
  * if ((cons = System.console()) != null &&
@@ -83,7 +83,7 @@
  *     ...
  *     java.util.Arrays.fill(passwd, ' ');
  * }
- * 
+ * }
* * @author Xueming Shen * @since 1.6 diff -r 889970e5b728 -r edb590d448c5 jdk/src/share/classes/java/io/PipedInputStream.java --- a/jdk/src/share/classes/java/io/PipedInputStream.java Mon Jun 10 12:26:20 2013 +0200 +++ b/jdk/src/share/classes/java/io/PipedInputStream.java Mon Jun 10 12:58:32 2013 +0100 @@ -117,7 +117,7 @@ * @param src the stream to connect to. * @param pipeSize the size of the pipe's buffer. * @exception IOException if an I/O error occurs. - * @exception IllegalArgumentException if pipeSize <= 0. + * @exception IllegalArgumentException if {@code pipeSize <= 0}. * @since 1.6 */ public PipedInputStream(PipedOutputStream src, int pipeSize) @@ -147,7 +147,7 @@ * connected} to a PipedOutputStream before being used. * * @param pipeSize the size of the pipe's buffer. - * @exception IllegalArgumentException if pipeSize <= 0. + * @exception IllegalArgumentException if {@code pipeSize <= 0}. * @since 1.6 */ public PipedInputStream(int pipeSize) { diff -r 889970e5b728 -r edb590d448c5 jdk/src/share/classes/java/io/PipedReader.java --- a/jdk/src/share/classes/java/io/PipedReader.java Mon Jun 10 12:26:20 2013 +0200 +++ b/jdk/src/share/classes/java/io/PipedReader.java Mon Jun 10 12:58:32 2013 +0100 @@ -91,7 +91,7 @@ * @param src the stream to connect to. * @param pipeSize the size of the pipe's buffer. * @exception IOException if an I/O error occurs. - * @exception IllegalArgumentException if pipeSize <= 0. + * @exception IllegalArgumentException if {@code pipeSize <= 0}. * @since 1.6 */ public PipedReader(PipedWriter src, int pipeSize) throws IOException { @@ -120,7 +120,7 @@ * before being used. * * @param pipeSize the size of the pipe's buffer. - * @exception IllegalArgumentException if pipeSize <= 0. + * @exception IllegalArgumentException if {@code pipeSize <= 0}. * @since 1.6 */ public PipedReader(int pipeSize) { diff -r 889970e5b728 -r edb590d448c5 jdk/src/share/classes/java/io/PrintStream.java --- a/jdk/src/share/classes/java/io/PrintStream.java Mon Jun 10 12:26:20 2013 +0200 +++ b/jdk/src/share/classes/java/io/PrintStream.java Mon Jun 10 12:58:32 2013 +0100 @@ -851,7 +851,7 @@ * null argument depends on the conversion. * - * @throws IllegalFormatException + * @throws java.util.IllegalFormatException * If a format string contains an illegal syntax, a format * specifier that is incompatible with the given arguments, * insufficient arguments given the format string, or other @@ -901,7 +901,7 @@ * null argument depends on the conversion. * - * @throws IllegalFormatException + * @throws java.util.IllegalFormatException * If a format string contains an illegal syntax, a format * specifier that is incompatible with the given arguments, * insufficient arguments given the format string, or other @@ -944,7 +944,7 @@ * null argument depends on the conversion. * - * @throws IllegalFormatException + * @throws java.util.IllegalFormatException * If a format string contains an illegal syntax, a format * specifier that is incompatible with the given arguments, * insufficient arguments given the format string, or other @@ -1001,7 +1001,7 @@ * null argument depends on the conversion. * - * @throws IllegalFormatException + * @throws java.util.IllegalFormatException * If a format string contains an illegal syntax, a format * specifier that is incompatible with the given arguments, * insufficient arguments given the format string, or other diff -r 889970e5b728 -r edb590d448c5 jdk/src/share/classes/java/io/PushbackInputStream.java --- a/jdk/src/share/classes/java/io/PushbackInputStream.java Mon Jun 10 12:26:20 2013 +0200 +++ b/jdk/src/share/classes/java/io/PushbackInputStream.java Mon Jun 10 12:58:32 2013 +0100 @@ -85,7 +85,7 @@ * * @param in the input stream from which bytes will be read. * @param size the size of the pushback buffer. - * @exception IllegalArgumentException if size is <= 0 + * @exception IllegalArgumentException if {@code size <= 0} * @since JDK1.1 */ public PushbackInputStream(InputStream in, int size) { diff -r 889970e5b728 -r edb590d448c5 jdk/src/share/classes/java/io/PushbackReader.java --- a/jdk/src/share/classes/java/io/PushbackReader.java Mon Jun 10 12:26:20 2013 +0200 +++ b/jdk/src/share/classes/java/io/PushbackReader.java Mon Jun 10 12:58:32 2013 +0100 @@ -47,7 +47,7 @@ * * @param in The reader from which characters will be read * @param size The size of the pushback buffer - * @exception IllegalArgumentException if size is <= 0 + * @exception IllegalArgumentException if {@code size <= 0} */ public PushbackReader(Reader in, int size) { super(in); diff -r 889970e5b728 -r edb590d448c5 jdk/src/share/classes/java/io/StringReader.java --- a/jdk/src/share/classes/java/io/StringReader.java Mon Jun 10 12:26:20 2013 +0200 +++ b/jdk/src/share/classes/java/io/StringReader.java Mon Jun 10 12:58:32 2013 +0100 @@ -163,7 +163,7 @@ * is no actual limit, so this argument must not * be negative, but is otherwise ignored. * - * @exception IllegalArgumentException If readAheadLimit is < 0 + * @exception IllegalArgumentException If {@code readAheadLimit < 0} * @exception IOException If an I/O error occurs */ public void mark(int readAheadLimit) throws IOException { diff -r 889970e5b728 -r edb590d448c5 jdk/src/share/classes/java/lang/Character.java --- a/jdk/src/share/classes/java/lang/Character.java Mon Jun 10 12:26:20 2013 +0200 +++ b/jdk/src/share/classes/java/lang/Character.java Mon Jun 10 12:58:32 2013 +0100 @@ -4782,9 +4782,9 @@ * Unicode surrogate pair. *

This method is equivalent to the expression: - *

+     * 
{@code
      * isHighSurrogate(high) && isLowSurrogate(low)
-     * 
+ * }
* * @param high the high-surrogate code value to be tested * @param low the low-surrogate code value to be tested diff -r 889970e5b728 -r edb590d448c5 jdk/src/share/classes/java/lang/ClassLoader.java --- a/jdk/src/share/classes/java/lang/ClassLoader.java Mon Jun 10 12:26:20 2013 +0200 +++ b/jdk/src/share/classes/java/lang/ClassLoader.java Mon Jun 10 12:58:32 2013 +0100 @@ -702,7 +702,7 @@ * bootstrap class loader. If name is not null, it * must be equal to the binary name of the class * specified by the byte array "b", otherwise a {@link - * NoClassDefFoundError} will be thrown.

+ * NoClassDefFoundError NoClassDefFoundError} will be thrown.

* * @param name * The expected binary name of the class, or diff -r 889970e5b728 -r edb590d448c5 jdk/src/share/classes/java/lang/Comparable.java --- a/jdk/src/share/classes/java/lang/Comparable.java Mon Jun 10 12:26:20 2013 +0200 +++ b/jdk/src/share/classes/java/lang/Comparable.java Mon Jun 10 12:58:32 2013 +0100 @@ -56,7 +56,7 @@ * method.

* * For example, if one adds two keys a and b such that - * (!a.equals(b) && a.compareTo(b) == 0) to a sorted + * {@code (!a.equals(b) && a.compareTo(b) == 0)} to a sorted * set that does not use an explicit comparator, the second add * operation returns false (and the size of the sorted set does not increase) * because a and b are equivalent from the sorted set's diff -r 889970e5b728 -r edb590d448c5 jdk/src/share/classes/java/lang/Double.java --- a/jdk/src/share/classes/java/lang/Double.java Mon Jun 10 12:26:20 2013 +0200 +++ b/jdk/src/share/classes/java/lang/Double.java Mon Jun 10 12:58:32 2013 +0100 @@ -917,13 +917,13 @@ *

In all other cases, let s, e, and m be three * values that can be computed from the argument: * - *

-     * int s = ((bits >> 63) == 0) ? 1 : -1;
-     * int e = (int)((bits >> 52) & 0x7ffL);
+     * 
{@code
+     * int s = ((bits >> 63) == 0) ? 1 : -1;
+     * int e = (int)((bits >> 52) & 0x7ffL);
      * long m = (e == 0) ?
-     *                 (bits & 0xfffffffffffffL) << 1 :
+     *                 (bits & 0xfffffffffffffL) << 1 :
      *                 (bits & 0xfffffffffffffL) | 0x10000000000000L;
-     * 
+ * }
* * Then the floating-point result equals the value of the mathematical * expression s·m·2e-1075. diff -r 889970e5b728 -r edb590d448c5 jdk/src/share/classes/java/lang/Float.java --- a/jdk/src/share/classes/java/lang/Float.java Mon Jun 10 12:26:20 2013 +0200 +++ b/jdk/src/share/classes/java/lang/Float.java Mon Jun 10 12:58:32 2013 +0100 @@ -821,13 +821,13 @@ *

In all other cases, let s, e, and m be three * values that can be computed from the argument: * - *

-     * int s = ((bits >> 31) == 0) ? 1 : -1;
-     * int e = ((bits >> 23) & 0xff);
+     * 
{@code
+     * int s = ((bits >> 31) == 0) ? 1 : -1;
+     * int e = ((bits >> 23) & 0xff);
      * int m = (e == 0) ?
-     *                 (bits & 0x7fffff) << 1 :
+     *                 (bits & 0x7fffff) << 1 :
      *                 (bits & 0x7fffff) | 0x800000;
-     * 
+ * }
* * Then the floating-point result equals the value of the mathematical * expression s·m·2e-150. diff -r 889970e5b728 -r edb590d448c5 jdk/src/share/classes/java/lang/StackTraceElement.java --- a/jdk/src/share/classes/java/lang/StackTraceElement.java Mon Jun 10 12:26:20 2013 +0200 +++ b/jdk/src/share/classes/java/lang/StackTraceElement.java Mon Jun 10 12:58:32 2013 +0100 @@ -181,12 +181,12 @@ * {@code StackTraceElement} instance representing the same execution * point as this instance. Two stack trace elements {@code a} and * {@code b} are equal if and only if: - *
+     * 
{@code
      *     equals(a.getFileName(), b.getFileName()) &&
      *     a.getLineNumber() == b.getLineNumber()) &&
      *     equals(a.getClassName(), b.getClassName()) &&
      *     equals(a.getMethodName(), b.getMethodName())
-     * 
+ * }
* where {@code equals} has the semantics of {@link * java.util.Objects#equals(Object, Object) Objects.equals}. * diff -r 889970e5b728 -r edb590d448c5 jdk/src/share/classes/java/lang/instrument/Instrumentation.java --- a/jdk/src/share/classes/java/lang/instrument/Instrumentation.java Mon Jun 10 12:26:20 2013 +0200 +++ b/jdk/src/share/classes/java/lang/instrument/Instrumentation.java Mon Jun 10 12:58:32 2013 +0100 @@ -593,24 +593,28 @@ * and the normal automatic resolution. For * RegisterNatives, the JVM will attempt this * association: - *
-     *   method(foo) -> nativeImplementation(foo)
+ *
{@code
+     *   method(foo) -> nativeImplementation(foo)
+     * }
*

* When this fails, the resolution will be retried with * the specified prefix prepended to the method name, * yielding the correct resolution: - *

-     *   method(wrapped_foo) -> nativeImplementation(foo)
+ *
{@code
+     *   method(wrapped_foo) -> nativeImplementation(foo)
+     * }
*

* For automatic resolution, the JVM will attempt: - *

-     *   method(wrapped_foo) -> nativeImplementation(wrapped_foo)
+ *
{@code
+     *   method(wrapped_foo) -> nativeImplementation(wrapped_foo)
+     * }
*

* When this fails, the resolution will be retried with * the specified prefix deleted from the implementation name, * yielding the correct resolution: - *

-     *   method(wrapped_foo) -> nativeImplementation(foo)
+ *
{@code
+     *   method(wrapped_foo) -> nativeImplementation(foo)
+     * }
*

* Note that since the prefix is only used when standard * resolution fails, native methods can be wrapped selectively. diff -r 889970e5b728 -r edb590d448c5 jdk/src/share/classes/java/lang/invoke/MethodHandle.java --- a/jdk/src/share/classes/java/lang/invoke/MethodHandle.java Mon Jun 10 12:26:20 2013 +0200 +++ b/jdk/src/share/classes/java/lang/invoke/MethodHandle.java Mon Jun 10 12:58:32 2013 +0100 @@ -251,7 +251,7 @@ * *

Usage examples

* Here are some examples of usage: - *

+ * 

{@code
 Object x, y; String s; int i;
 MethodType mt; MethodHandle mh;
 MethodHandles.Lookup lookup = MethodHandles.lookup();
@@ -287,7 +287,7 @@
 mh = lookup.findVirtual(java.io.PrintStream.class, "println", mt);
 mh.invokeExact(System.out, "Hello, world.");
 // invokeExact(Ljava/io/PrintStream;Ljava/lang/String;)V
- * 
+ * }
* Each of the above calls to {@code invokeExact} or plain {@code invoke} * generates a single invokevirtual instruction with * the symbolic type descriptor indicated in the following comment. @@ -754,7 +754,7 @@ * (The array may also be null when zero elements are required.) *

* Here are some simple examples of array-spreading method handles: - *

+     * 
{@code
 MethodHandle equals = publicLookup()
   .findVirtual(String.class, "equals", methodType(boolean.class, Object.class));
 assert( (boolean) equals.invokeExact("me", (Object)"me"));
@@ -790,7 +790,7 @@
 assertEquals("[A, B, C]", (String) caString3.invokeExact('A', 'B', 'C'));
 MethodHandle caToString2 = caString3.asSpreader(char[].class, 2);
 assertEquals("[A, B, C]", (String) caToString2.invokeExact('A', "BC".toCharArray()));
-     * 
+ * }
* @param arrayType usually {@code Object[]}, the type of the array argument from which to extract the spread arguments * @param arrayLength the number of arguments to spread from an incoming array argument * @return a new method handle which spreads its final array argument, @@ -878,7 +878,7 @@ * number of collected arguments, use {@link #asVarargsCollector asVarargsCollector} instead. *

* Here are some examples of array-collecting method handles: - *

+     * 
{@code
 MethodHandle deepToString = publicLookup()
   .findStatic(Arrays.class, "deepToString", methodType(String.class, Object[].class));
 assertEquals("[won]",   (String) deepToString.invokeExact(new Object[]{"won"}));
@@ -904,7 +904,7 @@
   .findStatic(Arrays.class, "toString", methodType(String.class, long[].class))
   .asCollector(long[].class, 1);
 assertEquals("[123]", (String) longsToString.invokeExact((long)123));
-     * 
+ * }
* @param arrayType often {@code Object[]}, the type of the array argument which will collect the arguments * @param arrayLength the number of arguments to collect into a new array argument * @return a new method handle which collects some trailing argument @@ -1041,7 +1041,7 @@ * It may (or may not) return the original variable arity method handle. *

* Here is an example, of a list-making variable arity method handle: - *

+     * 
{@code
 MethodHandle deepToString = publicLookup()
   .findStatic(Arrays.class, "deepToString", methodType(String.class, Object[].class));
 MethodHandle ts1 = deepToString.asVarargsCollector(Object[].class);
@@ -1063,7 +1063,7 @@
 List ls = (List) asList.invoke((Object)argv);
 assertEquals(1, ls.size());
 assertEquals("[three, thee, tee]", Arrays.toString((Object[])ls.get(0)));
-     * 
+ * }
*

* Discussion: * These rules are designed as a dynamically-typed variation @@ -1134,7 +1134,7 @@ * a previous argument to {@code asVarargsCollector}. *

* Here is an example, of a list-making variable arity method handle: - *

+     * 
{@code
 MethodHandle asListVar = publicLookup()
   .findStatic(Arrays.class, "asList", methodType(List.class, Object[].class))
   .asVarargsCollector(Object[].class);
@@ -1153,7 +1153,7 @@
 assertEquals("[three, thee, tee]", asListFix.invoke(argv).toString());
 assertEquals(1, ((List) asListVar.invoke((Object)argv)).size());
 assertEquals("[three, thee, tee]", asListFix.invoke((Object)argv).toString());
-     * 
+ * }
* * @return a new method handle which accepts only a fixed number of arguments * @see #asVarargsCollector diff -r 889970e5b728 -r edb590d448c5 jdk/src/share/classes/java/lang/invoke/MethodHandles.java --- a/jdk/src/share/classes/java/lang/invoke/MethodHandles.java Mon Jun 10 12:26:20 2013 +0200 +++ b/jdk/src/share/classes/java/lang/invoke/MethodHandles.java Mon Jun 10 12:58:32 2013 +0100 @@ -1593,7 +1593,7 @@ * As in the case of {@link #dropArguments(MethodHandle,int,List) dropArguments}, * incoming arguments which are not mentioned in the reordering array * are may be any type, as determined only by {@code newType}. - *
+     * 
{@code
 import static java.lang.invoke.MethodHandles.*;
 import static java.lang.invoke.MethodType.*;
 ...
@@ -1609,7 +1609,7 @@
 MethodHandle twice = permuteArguments(add, intfn1, 0, 0);
 assert(twice.type().equals(intfn1));
 assert((int)twice.invokeExact(21) == 42);
-     * 
+ * }
* @param target the method handle to invoke after arguments are reordered * @param newType the expected type of the new method handle * @param reorder an index array which controls the reordering diff -r 889970e5b728 -r edb590d448c5 jdk/src/share/classes/java/lang/management/MemoryUsage.java --- a/jdk/src/share/classes/java/lang/management/MemoryUsage.java Mon Jun 10 12:26:20 2013 +0200 +++ b/jdk/src/share/classes/java/lang/management/MemoryUsage.java Mon Jun 10 12:58:32 2013 +0100 @@ -72,8 +72,8 @@ * The amount of used and committed memory will always be less than * or equal to max if max is defined. * A memory allocation may fail if it attempts to increase the - * used memory such that used > committed even - * if used <= max would still be true (for example, + * used memory such that used > committed even + * if used <= max would still be true (for example, * when the system is low on virtual memory). * * diff -r 889970e5b728 -r edb590d448c5 jdk/src/share/classes/java/lang/management/RuntimeMXBean.java --- a/jdk/src/share/classes/java/lang/management/RuntimeMXBean.java Mon Jun 10 12:26:20 2013 +0200 +++ b/jdk/src/share/classes/java/lang/management/RuntimeMXBean.java Mon Jun 10 12:58:32 2013 +0100 @@ -308,7 +308,7 @@ * *

* MBeanServer access:
- * The mapped type of Map is + * The mapped type of {@code Map} is * {@link javax.management.openmbean.TabularData TabularData} * with two items in each row as follows: *

diff -r 889970e5b728 -r edb590d448c5 jdk/src/share/classes/java/lang/management/ThreadMXBean.java --- a/jdk/src/share/classes/java/lang/management/ThreadMXBean.java Mon Jun 10 12:26:20 2013 +0200 +++ b/jdk/src/share/classes/java/lang/management/ThreadMXBean.java Mon Jun 10 12:58:32 2013 +0100 @@ -198,7 +198,7 @@ * null if the thread of the given ID is not alive or * it does not exist. * - * @throws IllegalArgumentException if id <= 0. + * @throws IllegalArgumentException if {@code id <= 0}. * @throws java.lang.SecurityException if a security manager * exists and the caller does not have * ManagementPermission("monitor"). @@ -236,7 +236,7 @@ * with no stack trace, no locked monitor and no synchronizer info. * * @throws IllegalArgumentException if any element in the input array - * ids is <= 0. + * ids is {@code <= 0}. * @throws java.lang.SecurityException if a security manager * exists and the caller does not have * ManagementPermission("monitor"). @@ -282,7 +282,7 @@ * null if the thread of the given ID is not alive or * it does not exist. * - * @throws IllegalArgumentException if id <= 0. + * @throws IllegalArgumentException if {@code id <= 0}. * @throws IllegalArgumentException if maxDepth is negative. * @throws java.lang.SecurityException if a security manager * exists and the caller does not have @@ -336,7 +336,7 @@ * * @throws IllegalArgumentException if maxDepth is negative. * @throws IllegalArgumentException if any element in the input array - * ids is <= 0. + * ids is {@code <= 0}. * @throws java.lang.SecurityException if a security manager * exists and the caller does not have * ManagementPermission("monitor"). @@ -466,7 +466,7 @@ * and CPU time measurement is enabled; * -1 otherwise. * - * @throws IllegalArgumentException if id <= 0 . + * @throws IllegalArgumentException if {@code id <= 0}. * @throws java.lang.UnsupportedOperationException if the Java * virtual machine does not support CPU time measurement for * other threads. @@ -501,7 +501,7 @@ * and CPU time measurement is enabled; * -1 otherwise. * - * @throws IllegalArgumentException if id <= 0 . + * @throws IllegalArgumentException if {@code id <= 0}. * @throws java.lang.UnsupportedOperationException if the Java * virtual machine does not support CPU time measurement for * other threads. diff -r 889970e5b728 -r edb590d448c5 jdk/src/share/classes/java/net/CookieManager.java --- a/jdk/src/share/classes/java/net/CookieManager.java Mon Jun 10 12:26:20 2013 +0200 +++ b/jdk/src/share/classes/java/net/CookieManager.java Mon Jun 10 12:58:32 2013 +0100 @@ -41,7 +41,7 @@ * *

The HTTP cookie management in java.net package looks like: *

- *
+ * 
{@code
  *                  use
  * CookieHandler <------- HttpURLConnection
  *       ^
@@ -58,7 +58,7 @@
  *                            | impl
  *                            |
  *                  Internal in-memory implementation
- * 
+ * }
*
* *

The same output can be generated with this code, which uses a regular * expression to parse all four tokens at once: - *

+ * 
{@code
  *     String input = "1 fish 2 fish red fish blue fish";
  *     Scanner s = new Scanner(input);
  *     s.findInLine("(\\d+) fish (\\d+) fish (\\w+) fish (\\w+)");
  *     MatchResult result = s.match();
  *     for (int i=1; i<=result.groupCount(); i++)
  *         System.out.println(result.group(i));
- *     s.close(); 
+ * s.close(); + * }
* *

The default whitespace delimiter used * by a scanner is as recognized by {@link java.lang.Character}.{@link @@ -2640,11 +2644,11 @@ * scanner.reset() behaves in exactly the same way as the * invocation * - *

+     * 
{@code
      *   scanner.useDelimiter("\\p{javaWhitespace}+")
      *          .useLocale(Locale.getDefault(Locale.Category.FORMAT))
      *          .useRadix(10);
-     * 
+ * }
* * @return this scanner * diff -r 889970e5b728 -r edb590d448c5 jdk/src/share/classes/java/util/TimerTask.java --- a/jdk/src/share/classes/java/util/TimerTask.java Mon Jun 10 12:26:20 2013 +0200 +++ b/jdk/src/share/classes/java/util/TimerTask.java Mon Jun 10 12:58:32 2013 +0100 @@ -130,14 +130,14 @@ *

This method is typically invoked from within a task's run method, to * determine whether the current execution of the task is sufficiently * timely to warrant performing the scheduled activity: - *

+     * 
{@code
      *   public void run() {
      *       if (System.currentTimeMillis() - scheduledExecutionTime() >=
      *           MAX_TARDINESS)
      *               return;  // Too late; skip this execution.
      *       // Perform the task
      *   }
-     * 
+ * }
* This method is typically not used in conjunction with * fixed-delay execution repeating tasks, as their scheduled * execution times are allowed to drift over time, and so are not terribly diff -r 889970e5b728 -r edb590d448c5 jdk/src/share/classes/java/util/jar/Pack200.java --- a/jdk/src/share/classes/java/util/jar/Pack200.java Mon Jun 10 12:26:20 2013 +0200 +++ b/jdk/src/share/classes/java/util/jar/Pack200.java Mon Jun 10 12:58:32 2013 +0100 @@ -45,7 +45,7 @@ * transform the byte-stream back to JAR format. *

* Here is an example using packer and unpacker:

- *

+ * 
{@code
  *    import java.util.jar.Pack200;
  *    import java.util.jar.Pack200.*;
  *    ...
@@ -90,7 +90,7 @@
  *    } catch (IOException ioe) {
  *        ioe.printStackTrace();
  *    }
- * 
+ * } *

* A Pack200 file compressed with gzip can be hosted on HTTP/1.1 web servers. * The deployment applications can use "Accept-Encoding=pack200-gzip". This diff -r 889970e5b728 -r edb590d448c5 jdk/src/share/classes/java/util/logging/ConsoleHandler.java --- a/jdk/src/share/classes/java/util/logging/ConsoleHandler.java Mon Jun 10 12:26:20 2013 +0200 +++ b/jdk/src/share/classes/java/util/logging/ConsoleHandler.java Mon Jun 10 12:58:32 2013 +0100 @@ -35,7 +35,7 @@ *

* Configuration: * By default each ConsoleHandler is initialized using the following - * LogManager configuration properties where + * LogManager configuration properties where {@code } * refers to the fully-qualified class name of the handler. * If properties are not defined * (or have invalid values) then the specified default values are used. diff -r 889970e5b728 -r edb590d448c5 jdk/src/share/classes/java/util/logging/FileHandler.java --- a/jdk/src/share/classes/java/util/logging/FileHandler.java Mon Jun 10 12:26:20 2013 +0200 +++ b/jdk/src/share/classes/java/util/logging/FileHandler.java Mon Jun 10 12:58:32 2013 +0100 @@ -333,7 +333,7 @@ * @exception IOException if there are IO problems opening the files. * @exception SecurityException if a security manager exists and if * the caller does not have LoggingPermission("control"). - * @exception IllegalArgumentException if limit < 0, or count < 1. + * @exception IllegalArgumentException if {@code limit < 0}, or {@code count < 1}. * @exception IllegalArgumentException if pattern is an empty string */ public FileHandler(String pattern, int limit, int count) @@ -371,7 +371,7 @@ * @exception IOException if there are IO problems opening the files. * @exception SecurityException if a security manager exists and if * the caller does not have LoggingPermission("control"). - * @exception IllegalArgumentException if limit < 0, or count < 1. + * @exception IllegalArgumentException if {@code limit < 0}, or {@code count < 1}. * @exception IllegalArgumentException if pattern is an empty string * */ diff -r 889970e5b728 -r edb590d448c5 jdk/src/share/classes/java/util/logging/MemoryHandler.java --- a/jdk/src/share/classes/java/util/logging/MemoryHandler.java Mon Jun 10 12:26:20 2013 +0200 +++ b/jdk/src/share/classes/java/util/logging/MemoryHandler.java Mon Jun 10 12:58:32 2013 +0100 @@ -64,7 +64,7 @@ * (defaults to no Filter). *

  • <handler-name>.size * defines the buffer size (defaults to 1000).
  • - *
  • <handler-name>.push + *
  • <handler-name>.push * defines the pushLevel (defaults to level.SEVERE).
  • *
  • <handler-name>.target * specifies the name of the target Handler class. @@ -155,7 +155,7 @@ * @param size the number of log records to buffer (must be greater than zero) * @param pushLevel message level to push on * - * @throws IllegalArgumentException if size is <= 0 + * @throws IllegalArgumentException if {@code size is <= 0} */ public MemoryHandler(Handler target, int size, Level pushLevel) { if (target == null || pushLevel == null) { diff -r 889970e5b728 -r edb590d448c5 jdk/src/share/classes/java/util/prefs/Preferences.java --- a/jdk/src/share/classes/java/util/prefs/Preferences.java Mon Jun 10 12:26:20 2013 +0200 +++ b/jdk/src/share/classes/java/util/prefs/Preferences.java Mon Jun 10 12:58:32 2013 +0100 @@ -134,52 +134,52 @@ * subsequently restore from the backup. * *

    The XML document has the following DOCTYPE declaration: - *

    - * <!DOCTYPE preferences SYSTEM "http://java.sun.com/dtd/preferences.dtd">
    - * 
    + *
    {@code
    + * 
    + * }
    * Note that the system URI (http://java.sun.com/dtd/preferences.dtd) is * not accessed when exporting or importing preferences; it merely * serves as a string to uniquely identify the DTD, which is: - *
    - *    <?xml version="1.0" encoding="UTF-8"?>
    + * 
    {@code
    + *    
      *
    - *    <!-- DTD for a Preferences tree. -->
    + *    
      *
    - *    <!-- The preferences element is at the root of an XML document
    - *         representing a Preferences tree. -->
    - *    <!ELEMENT preferences (root)>
    + *    
    + *    
      *
    - *    <!-- The preferences element contains an optional version attribute,
    - *          which specifies version of DTD. -->
    - *    <!ATTLIST preferences EXTERNAL_XML_VERSION CDATA "0.0" >
    + *    
    + *    
      *
    - *    <!-- The root element has a map representing the root's preferences
    - *         (if any), and one node for each child of the root (if any). -->
    - *    <!ELEMENT root (map, node*) >
    + *    
    + *    
      *
    - *    <!-- Additionally, the root contains a type attribute, which
    - *         specifies whether it's the system or user root. -->
    - *    <!ATTLIST root
    - *              type (system|user) #REQUIRED >
    + *    
    + *    
      *
    - *    <!-- Each node has a map representing its preferences (if any),
    - *         and one node for each child (if any). -->
    - *    <!ELEMENT node (map, node*) >
    + *    
    + *    
      *
    - *    <!-- Additionally, each node has a name attribute -->
    - *    <!ATTLIST node
    - *              name CDATA #REQUIRED >
    + *    
    + *    
      *
    - *    <!-- A map represents the preferences stored at a node (if any). -->
    - *    <!ELEMENT map (entry*) >
    + *    
    + *    
      *
    - *    <!-- An entry represents a single preference, which is simply
    - *          a key-value pair. -->
    - *    <!ELEMENT entry EMPTY >
    - *    <!ATTLIST entry
    + *    
    + *    
    + *    
    + *              value CDATA #REQUIRED >
    + * }
    * * Every Preferences implementation must have an associated {@link * PreferencesFactory} implementation. Every Java(TM) SE implementation must provide @@ -1161,9 +1161,9 @@ * This XML document is, in effect, an offline backup of the node. * *

    The XML document will have the following DOCTYPE declaration: - *

    -     * <!DOCTYPE preferences SYSTEM "http://java.sun.com/dtd/preferences.dtd">
    -     * 
    + *
    {@code
    +     * 
    +     * }
    * The UTF-8 character encoding will be used. * *

    This method is an exception to the general rule that the results of @@ -1192,9 +1192,9 @@ * effect, an offline backup of the subtree rooted at the node. * *

    The XML document will have the following DOCTYPE declaration: - *

    -     * <!DOCTYPE preferences SYSTEM "http://java.sun.com/dtd/preferences.dtd">
    -     * 
    + *
    {@code
    +     * 
    +     * }
    * The UTF-8 character encoding will be used. * *

    This method is an exception to the general rule that the results of @@ -1228,9 +1228,9 @@ * do not exist, the nodes will be created. * *

    The XML document must have the following DOCTYPE declaration: - *

    -     * <!DOCTYPE preferences SYSTEM "http://java.sun.com/dtd/preferences.dtd">
    -     * 
    + *
    {@code
    +     * 
    +     * }
    * (This method is designed for use in conjunction with * {@link #exportNode(OutputStream)} and * {@link #exportSubtree(OutputStream)}. diff -r 889970e5b728 -r edb590d448c5 jdk/src/share/classes/java/util/regex/MatchResult.java --- a/jdk/src/share/classes/java/util/regex/MatchResult.java Mon Jun 10 12:26:20 2013 +0200 +++ b/jdk/src/share/classes/java/util/regex/MatchResult.java Mon Jun 10 12:58:32 2013 +0100 @@ -79,7 +79,7 @@ /** * Returns the offset after the last character matched.

    * - * @return @return The offset after the last character matched + * @return The offset after the last character matched * * @throws IllegalStateException * If no match has yet been attempted, diff -r 889970e5b728 -r edb590d448c5 jdk/src/share/classes/java/util/regex/Pattern.java --- a/jdk/src/share/classes/java/util/regex/Pattern.java Mon Jun 10 12:26:20 2013 +0200 +++ b/jdk/src/share/classes/java/util/regex/Pattern.java Mon Jun 10 12:58:32 2013 +0100 @@ -108,7 +108,7 @@ * \x{h...h} * The character with hexadecimal value 0xh...h * ({@link java.lang.Character#MIN_CODE_POINT Character.MIN_CODE_POINT} - *  <= 0xh...h <=  + *  <= 0xh...h <=  * {@link java.lang.Character#MAX_CODE_POINT Character.MAX_CODE_POINT}) * \t * The tab character ('\u0009') diff -r 889970e5b728 -r edb590d448c5 jdk/src/share/classes/java/util/stream/package-info.java --- a/jdk/src/share/classes/java/util/stream/package-info.java Mon Jun 10 12:26:20 2013 +0200 +++ b/jdk/src/share/classes/java/util/stream/package-info.java Mon Jun 10 12:58:32 2013 +0100 @@ -141,7 +141,7 @@ * parallelism is explicitly requested. For example, {@code Collection} has methods * {@link java.util.Collection#stream} and {@link java.util.Collection#parallelStream}, * which produce sequential and parallel streams respectively; other stream-bearing methods - * such as {@link java.util.stream.Streams#intRange(int, int)} produce sequential + * such as {@link java.util.stream.IntStream#range(int, int)} produce sequential * streams but these can be efficiently parallelized by calling {@code parallel()} on the * result. The set of operations on serial and parallel streams is identical. To execute the * "sum of weights of blocks" query in parallel, we would do: diff -r 889970e5b728 -r edb590d448c5 jdk/src/share/classes/java/util/zip/DeflaterInputStream.java --- a/jdk/src/share/classes/java/util/zip/DeflaterInputStream.java Mon Jun 10 12:26:20 2013 +0200 +++ b/jdk/src/share/classes/java/util/zip/DeflaterInputStream.java Mon Jun 10 12:58:32 2013 +0100 @@ -97,7 +97,7 @@ * @param in input stream to read the uncompressed data to * @param defl compressor ("deflater") for this stream * @param bufLen compression buffer size - * @throws IllegalArgumentException if {@code bufLen} is <= 0 + * @throws IllegalArgumentException if {@code bufLen <= 0} * @throws NullPointerException if {@code in} or {@code defl} is null */ public DeflaterInputStream(InputStream in, Deflater defl, int bufLen) { @@ -163,8 +163,7 @@ * @param len maximum number of compressed bytes to read into {@code b} * @return the actual number of bytes read, or -1 if the end of the * uncompressed input stream is reached - * @throws IndexOutOfBoundsException if {@code len} > {@code b.length - - * off} + * @throws IndexOutOfBoundsException if {@code len > b.length - off} * @throws IOException if an I/O error occurs or if this input stream is * already closed */ diff -r 889970e5b728 -r edb590d448c5 jdk/src/share/classes/java/util/zip/DeflaterOutputStream.java --- a/jdk/src/share/classes/java/util/zip/DeflaterOutputStream.java Mon Jun 10 12:26:20 2013 +0200 +++ b/jdk/src/share/classes/java/util/zip/DeflaterOutputStream.java Mon Jun 10 12:58:32 2013 +0100 @@ -71,7 +71,7 @@ * {@link Deflater#SYNC_FLUSH} before flushing the output * stream, otherwise only flushes the output stream * - * @throws IllegalArgumentException if size is <= 0 + * @throws IllegalArgumentException if {@code size <= 0} * * @since 1.7 */ @@ -101,7 +101,7 @@ * @param out the output stream * @param def the compressor ("deflater") * @param size the output buffer size - * @exception IllegalArgumentException if size is <= 0 + * @exception IllegalArgumentException if {@code size <= 0} */ public DeflaterOutputStream(OutputStream out, Deflater def, int size) { this(out, def, size, false); diff -r 889970e5b728 -r edb590d448c5 jdk/src/share/classes/java/util/zip/GZIPInputStream.java --- a/jdk/src/share/classes/java/util/zip/GZIPInputStream.java Mon Jun 10 12:26:20 2013 +0200 +++ b/jdk/src/share/classes/java/util/zip/GZIPInputStream.java Mon Jun 10 12:58:32 2013 +0100 @@ -71,7 +71,7 @@ * @exception ZipException if a GZIP format error has occurred or the * compression method used is unsupported * @exception IOException if an I/O error has occurred - * @exception IllegalArgumentException if size is <= 0 + * @exception IllegalArgumentException if {@code size <= 0} */ public GZIPInputStream(InputStream in, int size) throws IOException { super(in, new Inflater(true), size); diff -r 889970e5b728 -r edb590d448c5 jdk/src/share/classes/java/util/zip/GZIPOutputStream.java --- a/jdk/src/share/classes/java/util/zip/GZIPOutputStream.java Mon Jun 10 12:26:20 2013 +0200 +++ b/jdk/src/share/classes/java/util/zip/GZIPOutputStream.java Mon Jun 10 12:58:32 2013 +0100 @@ -61,8 +61,7 @@ * @param out the output stream * @param size the output buffer size * @exception IOException If an I/O error has occurred. - * @exception IllegalArgumentException if size is <= 0 - + * @exception IllegalArgumentException if {@code size <= 0} */ public GZIPOutputStream(OutputStream out, int size) throws IOException { this(out, size, false); @@ -81,7 +80,7 @@ * {@link Deflater#SYNC_FLUSH} before flushing the output * stream, otherwise only flushes the output stream * @exception IOException If an I/O error has occurred. - * @exception IllegalArgumentException if size is <= 0 + * @exception IllegalArgumentException if {@code size <= 0} * * @since 1.7 */ diff -r 889970e5b728 -r edb590d448c5 jdk/src/share/classes/java/util/zip/InflaterInputStream.java --- a/jdk/src/share/classes/java/util/zip/InflaterInputStream.java Mon Jun 10 12:26:20 2013 +0200 +++ b/jdk/src/share/classes/java/util/zip/InflaterInputStream.java Mon Jun 10 12:58:32 2013 +0100 @@ -75,7 +75,7 @@ * @param in the input stream * @param inf the decompressor ("inflater") * @param size the input buffer size - * @exception IllegalArgumentException if size is <= 0 + * @exception IllegalArgumentException if {@code size <= 0} */ public InflaterInputStream(InputStream in, Inflater inf, int size) { super(in); @@ -191,7 +191,7 @@ * @param n the number of bytes to skip * @return the actual number of bytes skipped. * @exception IOException if an I/O error has occurred - * @exception IllegalArgumentException if n < 0 + * @exception IllegalArgumentException if {@code n < 0} */ public long skip(long n) throws IOException { if (n < 0) { diff -r 889970e5b728 -r edb590d448c5 jdk/src/share/classes/java/util/zip/InflaterOutputStream.java --- a/jdk/src/share/classes/java/util/zip/InflaterOutputStream.java Mon Jun 10 12:26:20 2013 +0200 +++ b/jdk/src/share/classes/java/util/zip/InflaterOutputStream.java Mon Jun 10 12:58:32 2013 +0100 @@ -97,7 +97,7 @@ * @param out output stream to write the uncompressed data to * @param infl decompressor ("inflater") for this stream * @param bufLen decompression buffer size - * @throws IllegalArgumentException if {@code bufLen} is <= 0 + * @throws IllegalArgumentException if {@code bufLen <= 0} * @throws NullPointerException if {@code out} or {@code infl} is null */ public InflaterOutputStream(OutputStream out, Inflater infl, int bufLen) { @@ -211,8 +211,8 @@ * the output stream * @param off starting offset of the compressed data within {@code b} * @param len number of bytes to decompress from {@code b} - * @throws IndexOutOfBoundsException if {@code off} < 0, or if - * {@code len} < 0, or if {@code len} > {@code b.length - off} + * @throws IndexOutOfBoundsException if {@code off < 0}, or if + * {@code len < 0}, or if {@code len > b.length - off} * @throws IOException if an I/O error occurs or this stream is already * closed * @throws NullPointerException if {@code b} is null diff -r 889970e5b728 -r edb590d448c5 jdk/src/share/classes/java/util/zip/ZipInputStream.java --- a/jdk/src/share/classes/java/util/zip/ZipInputStream.java Mon Jun 10 12:26:20 2013 +0200 +++ b/jdk/src/share/classes/java/util/zip/ZipInputStream.java Mon Jun 10 12:58:32 2013 +0100 @@ -232,7 +232,7 @@ * @return the actual number of bytes skipped * @exception ZipException if a ZIP file error has occurred * @exception IOException if an I/O error has occurred - * @exception IllegalArgumentException if n < 0 + * @exception IllegalArgumentException if {@code n < 0} */ public long skip(long n) throws IOException { if (n < 0) { diff -r 889970e5b728 -r edb590d448c5 jdk/src/share/classes/javax/crypto/spec/IvParameterSpec.java --- a/jdk/src/share/classes/javax/crypto/spec/IvParameterSpec.java Mon Jun 10 12:26:20 2013 +0200 +++ b/jdk/src/share/classes/javax/crypto/spec/IvParameterSpec.java Mon Jun 10 12:58:32 2013 +0100 @@ -68,7 +68,7 @@ * starts. * @param len the number of IV bytes. * @throws IllegalArgumentException if iv is null - * or (iv.length - offset < len) + * or {@code (iv.length - offset < len)} * @throws ArrayIndexOutOfBoundsException is thrown if offset * or len index bytes outside the iv. */ diff -r 889970e5b728 -r edb590d448c5 jdk/src/share/classes/javax/crypto/spec/RC5ParameterSpec.java --- a/jdk/src/share/classes/javax/crypto/spec/RC5ParameterSpec.java Mon Jun 10 12:26:20 2013 +0200 +++ b/jdk/src/share/classes/javax/crypto/spec/RC5ParameterSpec.java Mon Jun 10 12:58:32 2013 +0100 @@ -80,7 +80,7 @@ * bytes of the buffer are copied to protect against subsequent * modification. * @exception IllegalArgumentException if iv is - * null or (iv.length < 2 * (wordSize / 8)) + * null or {@code (iv.length < 2 * (wordSize / 8))} */ public RC5ParameterSpec(int version, int rounds, int wordSize, byte[] iv) { this(version, rounds, wordSize, iv, 0); @@ -107,7 +107,7 @@ * @param offset the offset in iv where the IV starts. * @exception IllegalArgumentException if iv is * null or - * (iv.length - offset < 2 * (wordSize / 8)) + * {@code (iv.length - offset < 2 * (wordSize / 8))} */ public RC5ParameterSpec(int version, int rounds, int wordSize, byte[] iv, int offset) { diff -r 889970e5b728 -r edb590d448c5 jdk/src/share/classes/javax/crypto/spec/SecretKeySpec.java --- a/jdk/src/share/classes/javax/crypto/spec/SecretKeySpec.java Mon Jun 10 12:26:20 2013 +0200 +++ b/jdk/src/share/classes/javax/crypto/spec/SecretKeySpec.java Mon Jun 10 12:58:32 2013 +0100 @@ -130,7 +130,7 @@ * for information about standard algorithm names. * @exception IllegalArgumentException if algorithm * is null or key is null, empty, or too short, - * i.e. key.length-offset. + * i.e. {@code key.length-offsetoffset or len index bytes outside the * key. diff -r 889970e5b728 -r edb590d448c5 jdk/src/share/classes/javax/naming/BinaryRefAddr.java --- a/jdk/src/share/classes/javax/naming/BinaryRefAddr.java Mon Jun 10 12:26:20 2013 +0200 +++ b/jdk/src/share/classes/javax/naming/BinaryRefAddr.java Mon Jun 10 12:58:32 2013 +0100 @@ -89,9 +89,9 @@ * @param src The non-null contents of the address as a byte array. * The contents of src is copied into the new BinaryRefAddr. * @param offset The starting index in src to get the bytes. - * 0 <= offset <= src.length. + * {@code 0 <= offset <= src.length}. * @param count The number of bytes to extract from src. - * 0 <= count <= src.length-offset. + * {@code 0 <= count <= src.length-offset}. */ public BinaryRefAddr(String addrType, byte[] src, int offset, int count) { super(addrType); diff -r 889970e5b728 -r edb590d448c5 jdk/src/share/classes/javax/naming/directory/Attribute.java --- a/jdk/src/share/classes/javax/naming/directory/Attribute.java Mon Jun 10 12:26:20 2013 +0200 +++ b/jdk/src/share/classes/javax/naming/directory/Attribute.java Mon Jun 10 12:58:32 2013 +0100 @@ -265,7 +265,7 @@ * If the attribute values are unordered, * this method returns the value that happens to be at that index. * @param ix The index of the value in the ordered list of attribute values. - * 0 <= ix < size(). + * {@code 0 <= ix < size()}. * @return The possibly null attribute value at index ix; * null if the attribute value is null. * @exception NamingException If a naming exception was encountered while @@ -284,7 +284,7 @@ * the front of the list (and their indices decremented by one). * * @param ix The index of the value to remove. - * 0 <= ix < size(). + * {@code 0 <= ix < size()}. * @return The possibly null attribute value at index ix that was removed; * null if the attribute value is null. * @exception IndexOutOfBoundsException If ix is outside the specified range. @@ -302,7 +302,7 @@ * IllegalStateException is thrown. * * @param ix The index in the ordered list of attribute values to add the new value. - * 0 <= ix <= size(). + * {@code 0 <= ix <= size()}. * @param attrVal The possibly null attribute value to add; if null, null is * the value added. * @exception IndexOutOfBoundsException If ix is outside the specified range. @@ -322,7 +322,7 @@ * In that case, IllegalStateException is thrown. * * @param ix The index of the value in the ordered list of attribute values. - * 0 <= ix < size(). + * {@code 0 <= ix < size()}. * @param attrVal The possibly null attribute value to use. * If null, 'null' replaces the old value. * @return The possibly null attribute value at index ix that was replaced. diff -r 889970e5b728 -r edb590d448c5 jdk/src/share/classes/javax/naming/ldap/LdapName.java --- a/jdk/src/share/classes/javax/naming/ldap/LdapName.java Mon Jun 10 12:26:20 2013 +0200 +++ b/jdk/src/share/classes/javax/naming/ldap/LdapName.java Mon Jun 10 12:58:32 2013 +0100 @@ -443,7 +443,7 @@ * @throws InvalidNameException if suffix is not a valid LDAP * name, or if the addition of the components would violate the * syntax rules of this LDAP name. - * @throws IndexOutOfBoundsException. + * @throws IndexOutOfBoundsException * If posn is outside the specified range. */ public Name addAll(int posn, Name suffix) @@ -474,7 +474,7 @@ * Must be in the range [0,size()]. * * @return The updated name (not a new instance). - * @throws IndexOutOfBoundsException. + * @throws IndexOutOfBoundsException * If posn is outside the specified range. */ public Name addAll(int posn, List suffixRdns) { @@ -527,7 +527,7 @@ * Must be in the range [0,size()]. * @return The updated LdapName, not a new instance. * Cannot be null. - * @exception IndexOutOfBoundsException. + * @exception IndexOutOfBoundsException * If posn is outside the specified range. * @exception InvalidNameException If adding comp at the * specified position would violate the name's syntax. diff -r 889970e5b728 -r edb590d448c5 jdk/src/share/classes/javax/naming/ldap/PagedResultsControl.java --- a/jdk/src/share/classes/javax/naming/ldap/PagedResultsControl.java Mon Jun 10 12:26:20 2013 +0200 +++ b/jdk/src/share/classes/javax/naming/ldap/PagedResultsControl.java Mon Jun 10 12:58:32 2013 +0100 @@ -36,7 +36,7 @@ * at which it invokes search operations. *

    * The following code sample shows how the class may be used: - *

    + * 
    {@code
      *
      *     // Open an LDAP association
      *     LdapContext ctx = new InitialLdapContext();
    @@ -89,13 +89,13 @@
      *     ctx.close();
      *     ...
      *
    - * 
    + * }
    *

    * This class implements the LDAPv3 Control for paged-results as defined in * RFC 2696. * * The control's value has the following ASN.1 definition: - *

    + * 
    {@code
      *
      *     realSearchControlValue ::= SEQUENCE {
      *         size      INTEGER (0..maxInt),
    @@ -104,7 +104,7 @@
      *         cookie    OCTET STRING
      *     }
      *
    - * 
    + * }
    * * @since 1.5 * @see PagedResultsResponseControl diff -r 889970e5b728 -r edb590d448c5 jdk/src/share/classes/javax/naming/ldap/SortControl.java --- a/jdk/src/share/classes/javax/naming/ldap/SortControl.java Mon Jun 10 12:26:20 2013 +0200 +++ b/jdk/src/share/classes/javax/naming/ldap/SortControl.java Mon Jun 10 12:58:32 2013 +0100 @@ -40,7 +40,7 @@ * then the search operation is not performed and an error is returned. *

    * The following code sample shows how the class may be used: - *

    + * 
    {@code
      *
      *     // Open an LDAP association
      *     LdapContext ctx = new InitialLdapContext();
    @@ -85,7 +85,7 @@
      *     ctx.close();
      *     ...
      *
    - * 
    + * }
    *

    * This class implements the LDAPv3 Request Control for server-side sorting * as defined in diff -r 889970e5b728 -r edb590d448c5 jdk/src/share/classes/javax/net/ssl/SNIHostName.java --- a/jdk/src/share/classes/javax/net/ssl/SNIHostName.java Mon Jun 10 12:26:20 2013 +0200 +++ b/jdk/src/share/classes/javax/net/ssl/SNIHostName.java Mon Jun 10 12:58:32 2013 +0100 @@ -295,8 +295,8 @@ * representing the hostname(s) to match * @throws NullPointerException if {@code regex} is * {@code null} - * @throws PatternSyntaxException if the regular expression's syntax - * is invalid + * @throws java.util.regex.PatternSyntaxException if the regular expression's + * syntax is invalid */ public static SNIMatcher createSNIMatcher(String regex) { if (regex == null) { diff -r 889970e5b728 -r edb590d448c5 jdk/src/share/classes/javax/net/ssl/SSLEngine.java --- a/jdk/src/share/classes/javax/net/ssl/SSLEngine.java Mon Jun 10 12:26:20 2013 +0200 +++ b/jdk/src/share/classes/javax/net/ssl/SSLEngine.java Mon Jun 10 12:58:32 2013 +0100 @@ -211,7 +211,7 @@ * that the source buffer has enough room to hold a record (enlarging if * necessary), and then obtain more inbound data. * - *

    + * 
    {@code
      *   SSLEngineResult r = engine.unwrap(src, dst);
      *   switch (r.getStatus()) {
      *   BUFFER_OVERFLOW:
    @@ -238,7 +238,7 @@
      *       break;
      *   // other cases: CLOSED, OK.
      *   }
    - * 
    + * }
    * *

    * Unlike SSLSocket, all methods of SSLEngine are @@ -442,7 +442,7 @@ *

          * {@link #wrap(ByteBuffer [], int, int, ByteBuffer)
          *     engine.wrap(new ByteBuffer [] { src }, 0, 1, dst);}
    -     * 
    +     * 
    * * @param src * a ByteBuffer containing outbound application data @@ -478,7 +478,7 @@ *
          * {@link #wrap(ByteBuffer [], int, int, ByteBuffer)
          *     engine.wrap(srcs, 0, srcs.length, dst);}
    -     * 
    +     * 
    * * @param srcs * an array of ByteBuffers containing the @@ -597,7 +597,7 @@ *
          * {@link #unwrap(ByteBuffer, ByteBuffer [], int, int)
          *     engine.unwrap(src, new ByteBuffer [] { dst }, 0, 1);}
    -     * 
    +     * 
    * * @param src * a ByteBuffer containing inbound network data. @@ -633,7 +633,7 @@ *
          * {@link #unwrap(ByteBuffer, ByteBuffer [], int, int)
          *     engine.unwrap(src, dsts, 0, dsts.length);}
    -     * 
    +     * 
    * * @param src * a ByteBuffer containing inbound network data. diff -r 889970e5b728 -r edb590d448c5 jdk/src/share/classes/javax/net/ssl/SSLEngineResult.java --- a/jdk/src/share/classes/javax/net/ssl/SSLEngineResult.java Mon Jun 10 12:26:20 2013 +0200 +++ b/jdk/src/share/classes/javax/net/ssl/SSLEngineResult.java Mon Jun 10 12:58:32 2013 +0100 @@ -173,7 +173,7 @@ * * @throws IllegalArgumentException * if the status or handshakeStatus - * arguments are null, or if <bytesConsumed or + * arguments are null, or if bytesConsumed or * bytesProduced is negative. */ public SSLEngineResult(Status status, HandshakeStatus handshakeStatus, diff -r 889970e5b728 -r edb590d448c5 jdk/src/share/classes/javax/net/ssl/SSLSessionContext.java --- a/jdk/src/share/classes/javax/net/ssl/SSLSessionContext.java Mon Jun 10 12:26:20 2013 +0200 +++ b/jdk/src/share/classes/javax/net/ssl/SSLSessionContext.java Mon Jun 10 12:58:32 2013 +0100 @@ -90,7 +90,7 @@ * @param seconds the new session timeout limit in seconds; zero means * there is no limit. * - * @exception IllegalArgumentException if the timeout specified is < 0. + * @exception IllegalArgumentException if the timeout specified is {@code < 0}. * @see #getSessionTimeout */ public void setSessionTimeout(int seconds) @@ -122,7 +122,7 @@ * * @param size the new session cache size limit; zero means there is no * limit. - * @exception IllegalArgumentException if the specified size is < 0. + * @exception IllegalArgumentException if the specified size is {@code < 0}. * @see #getSessionCacheSize */ public void setSessionCacheSize(int size) diff -r 889970e5b728 -r edb590d448c5 jdk/src/share/classes/javax/script/ScriptEngineFactory.java --- a/jdk/src/share/classes/javax/script/ScriptEngineFactory.java Mon Jun 10 12:26:20 2013 +0200 +++ b/jdk/src/share/classes/javax/script/ScriptEngineFactory.java Mon Jun 10 12:58:32 2013 +0100 @@ -144,8 +144,7 @@ * of the supported scripting language. For instance, an implementaton for a Javascript * engine might be; *

    - *

    -     * 
    +     * 
    {@code
          * public String getMethodCallSyntax(String obj,
          *                                   String m, String... args) {
          *      String ret = obj;
    @@ -159,8 +158,7 @@
          *      ret += ")";
          *      return ret;
          * }
    -     *
    -     *
    + * }
    *

    * * @param obj The name representing the object whose method is to be invoked. The @@ -200,17 +198,17 @@ * Returns A valid scripting language executable progam with given statements. * For instance an implementation for a PHP engine might be: *

    - *

    
    +     * 
    {@code
          * public String getProgram(String... statements) {
    -     *      $retval = "<?\n";
    +     *      $retval = "";
          *
          * }
    -     * 
    + * }
    * * @param statements The statements to be executed. May be return values of * calls to the getMethodCallSyntax and getOutputStatement methods. diff -r 889970e5b728 -r edb590d448c5 jdk/src/share/classes/javax/security/auth/callback/CallbackHandler.java --- a/jdk/src/share/classes/javax/security/auth/callback/CallbackHandler.java Mon Jun 10 12:26:20 2013 +0200 +++ b/jdk/src/share/classes/javax/security/auth/callback/CallbackHandler.java Mon Jun 10 12:58:32 2013 +0100 @@ -79,7 +79,7 @@ * This example code is for guidance only. Many details, * including proper error handling, are left out for simplicity. * - *
    +     * 
    {@code
          * public void handle(Callback[] callbacks)
          * throws IOException, UnsupportedCallbackException {
          *
    @@ -133,7 +133,7 @@
          * private char[] readPassword(InputStream in) throws IOException {
          *    // insert code to read a user password from the input stream
          * }
    -     * 
    + * }
    * * @param callbacks an array of Callback objects provided * by an underlying security service which contains diff -r 889970e5b728 -r edb590d448c5 jdk/src/share/classes/javax/security/sasl/Sasl.java --- a/jdk/src/share/classes/javax/security/sasl/Sasl.java Mon Jun 10 12:26:20 2013 +0200 +++ b/jdk/src/share/classes/javax/security/sasl/Sasl.java Mon Jun 10 12:58:32 2013 +0100 @@ -278,7 +278,7 @@ * * This method uses the JCA Security Provider Framework, described in the - * "Java Cryptography Architecture API Specification & Reference", for + * "Java Cryptography Architecture API Specification & Reference", for * locating and selecting a SaslClient implementation. * * First, it @@ -303,7 +303,7 @@ * SaslClientFactory.DIGEST-MD5 com.wiz.sasl.digest.ClientFactory *

    * See the - * "Java Cryptography Architecture API Specification & Reference" + * "Java Cryptography Architecture API Specification & Reference" * for information about how to install and configure security service * providers. * @@ -428,7 +428,7 @@ * This method uses the JCA Security Provider Framework, * described in the - * "Java Cryptography Architecture API Specification & Reference", for + * "Java Cryptography Architecture API Specification & Reference", for * locating and selecting a SaslServer implementation. * * First, it @@ -453,7 +453,7 @@ * SaslServerFactory.DIGEST-MD5 com.wiz.sasl.digest.ServerFactory *

    * See the - * "Java Cryptography Architecture API Specification & Reference" + * "Java Cryptography Architecture API Specification & Reference" * for information about how to install and configure security * service providers. * diff -r 889970e5b728 -r edb590d448c5 jdk/src/share/classes/javax/security/sasl/SaslClient.java --- a/jdk/src/share/classes/javax/security/sasl/SaslClient.java Mon Jun 10 12:26:20 2013 +0200 +++ b/jdk/src/share/classes/javax/security/sasl/SaslClient.java Mon Jun 10 12:58:32 2013 +0100 @@ -38,13 +38,13 @@ *

    * Here's an example of how an LDAP library might use a SaslClient. * It first gets an instance of a SaslClient: - *

    + *
    {@code
      * SaslClient sc = Sasl.createSaslClient(mechanisms,
      *     authorizationId, protocol, serverName, props, callbackHandler);
    - *
    + *}
    * It can then proceed to use the client for authentication. * For example, an LDAP library might use the client as follows: - *
    + *
    {@code
      * // Get initial response and send to server
      * byte[] response = (sc.hasInitialResponse() ? sc.evaluateChallenge(new byte[0]) :
      *     null);
    @@ -74,7 +74,7 @@
      *      ldap.out = new SecureOutputStream(sc, ldap.out);
      *    }
      * }
    - *
    + *}
    * * If the mechanism has an initial response, the library invokes * evaluateChallenge() with an empty diff -r 889970e5b728 -r edb590d448c5 jdk/src/share/classes/javax/security/sasl/SaslServer.java --- a/jdk/src/share/classes/javax/security/sasl/SaslServer.java Mon Jun 10 12:26:20 2013 +0200 +++ b/jdk/src/share/classes/javax/security/sasl/SaslServer.java Mon Jun 10 12:58:32 2013 +0100 @@ -47,7 +47,7 @@ * For example, suppose the LDAP server received an LDAP BIND request * containing the name of the SASL mechanism and an (optional) initial * response. It then might use the server as follows: - *
    + *
    {@code
      * while (!ss.isComplete()) {
      *     try {
      *         byte[] challenge = ss.evaluateResponse(response);
    @@ -75,7 +75,7 @@
      *      ldap.out = new SecureOutputStream(ss, ldap.out);
      *    }
      * }
    - *
    + *}
    * * @since 1.5 * diff -r 889970e5b728 -r edb590d448c5 jdk/src/share/classes/javax/smartcardio/ResponseAPDU.java --- a/jdk/src/share/classes/javax/smartcardio/ResponseAPDU.java Mon Jun 10 12:26:20 2013 +0200 +++ b/jdk/src/share/classes/javax/smartcardio/ResponseAPDU.java Mon Jun 10 12:58:32 2013 +0100 @@ -121,7 +121,7 @@ * Returns the value of the status bytes SW1 and SW2 as a single * status word SW. * It is defined as - * (getSW1() << 8) | getSW2(). + * {@code (getSW1() << 8) | getSW2()} * * @return the value of the status word SW. */ diff -r 889970e5b728 -r edb590d448c5 jdk/src/share/classes/javax/sql/DataSource.java --- a/jdk/src/share/classes/javax/sql/DataSource.java Mon Jun 10 12:26:20 2013 +0200 +++ b/jdk/src/share/classes/javax/sql/DataSource.java Mon Jun 10 12:58:32 2013 +0100 @@ -82,7 +82,7 @@ * * @return a connection to the data source * @exception SQLException if a database access error occurs - * @throws SQLTimeoutException when the driver has determined that the + * @throws java.sql.SQLTimeoutException when the driver has determined that the * timeout value specified by the {@code setLoginTimeout} method * has been exceeded and has at least tried to cancel the * current database connection attempt @@ -98,7 +98,7 @@ * @param password the user's password * @return a connection to the data source * @exception SQLException if a database access error occurs - * @throws SQLTimeoutException when the driver has determined that the + * @throws java.sql.SQLTimeoutException when the driver has determined that the * timeout value specified by the {@code setLoginTimeout} method * has been exceeded and has at least tried to cancel the * current database connection attempt diff -r 889970e5b728 -r edb590d448c5 jdk/src/share/classes/javax/sql/rowset/BaseRowSet.java --- a/jdk/src/share/classes/javax/sql/rowset/BaseRowSet.java Mon Jun 10 12:26:20 2013 +0200 +++ b/jdk/src/share/classes/javax/sql/rowset/BaseRowSet.java Mon Jun 10 12:58:32 2013 +0100 @@ -109,10 +109,10 @@ * CachedRowSetTM * object crs might have its command property set. Note that if a * tool is used to set properties, this is the code that the tool would use. - *
    + * 
    {@code
      *    crs.setCommand("SELECT FIRST_NAME, LAST_NAME, ADDRESS FROM CUSTOMERS" +
      *                   "WHERE CREDIT_LIMIT > ? AND REGION = ?");
    - * 
    + * }
    *

    * In this example, the values for CREDIT_LIMIT and * REGION are placeholder parameters, which are indicated with a @@ -129,16 +129,16 @@ *

    * The following code fragment demonstrates * setting the two parameters in the query from the previous example. - *

    + * 
    {@code
      *    crs.setInt(1, 5000);
      *    crs.setString(2, "West");
    - * 
    + * }
    * If the execute method is called at this point, the query * sent to the DBMS will be: - *
    + * 
    {@code
      *    "SELECT FIRST_NAME, LAST_NAME, ADDRESS FROM CUSTOMERS" +
      *                   "WHERE CREDIT_LIMIT > 5000 AND REGION = 'West'"
    - * 
    + * }
    * NOTE: Setting Array, Clob, Blob and * Ref objects as a command parameter, stores these values as * SerialArray, SerialClob, SerialBlob @@ -158,7 +158,7 @@ * When the method execute is called, the values in the * Hashtable object are substituted for the appropriate placeholder * parameters in the command. - * + *

    * A call to the method getParams returns the values stored in the * Hashtable object as an array of Object instances. * An element in this array may be a simple Object instance or an @@ -2535,7 +2535,7 @@ * specific abstract data types. *

    * The parameter value set by this method is stored internally and - * will be supplied as the appropriate parameter in this RowSetRowSet * object's command when the method execute is called. * Methods such as execute and populate must be * provided in any class that extends this class and implements one or diff -r 889970e5b728 -r edb590d448c5 jdk/src/share/classes/javax/sql/rowset/CachedRowSet.java --- a/jdk/src/share/classes/javax/sql/rowset/CachedRowSet.java Mon Jun 10 12:26:20 2013 +0200 +++ b/jdk/src/share/classes/javax/sql/rowset/CachedRowSet.java Mon Jun 10 12:58:32 2013 +0100 @@ -118,7 +118,7 @@ *

    * There are two ways for a CachedRowSet object to specify which * SyncProvider object it will use. - * *

  • Supplying the name of the implementation to the constructor
    * The following line of code creates the CachedRowSet * object crs2 that is initialized with default values except that its @@ -135,7 +135,7 @@ *
      *           crs.setSyncProvider("com.fred.providers.HighAvailabilityProvider");
      *      
    - * * See the comments for SyncFactory and SyncProvider for * more details. * @@ -426,10 +426,10 @@ * The following code fragment illustrates how the CachedRowSet * object crs might have its command property set. Note that if a * tool is used to set properties, this is the code that the tool would use. - *
    + * 
    {@code
      *    crs.setCommand("SELECT FIRST_NAME, LAST_NAME, ADDRESS FROM CUSTOMERS " +
      *                   "WHERE CREDIT_LIMIT > ? AND REGION = ?");
    - * 
    + * }
    *

    * The values that will be used to set the command's placeholder parameters are * contained in the RowSet object's params field, which is a @@ -457,7 +457,7 @@ * The following code fragment gives an idea of how the reader * does this, after obtaining the Connection object * con. - *

    + * 
    {@code
      *    PreparedStatement pstmt = con.prepareStatement(crs.getCommand());
      *    reader.decodeParams();
      *    // decodeParams figures out which setter methods to use and does something
    @@ -465,16 +465,16 @@
      *    //    for (i = 0; i < params.length; i++) {
      *    //        pstmt.setObject(i + 1, params[i]);
      *    //    }
    - * 
    + * }
    *

    - * At this point, the command for crs is the query "SELECT + * At this point, the command for crs is the query {@code "SELECT * FIRST_NAME, LAST_NAME, ADDRESS FROM CUSTOMERS WHERE CREDIT_LIMIT > 5000 - * AND REGION = "West". After the readData method executes + * AND REGION = "West"}. After the readData method executes * this command with the following line of code, it will have the data from * rs with which to populate crs. - *

    + * 
    {@code
      *     ResultSet rs = pstmt.executeQuery();
    - * 
    + * }
    *

    * The preceding code fragments give an idea of what goes on behind the * scenes; they would not appear in an application, which would not invoke @@ -484,13 +484,13 @@ * the command. Simply by calling the execute method, * crs populates itself with the requested data from the * table CUSTOMERS. - *

    + * 
    {@code
      *    crs.setCommand("SELECT FIRST_NAME, LAST_NAME, ADDRESS FROM CUSTOMERS" +
      *                   "WHERE CREDIT_LIMIT > ? AND REGION = ?");
      *    crs.setInt(1, 5000);
      *    crs.setString(2, "West");
      *    crs.execute();
    - * 
    + * }
    * *

    10.0 Paging Data

    * Because a CachedRowSet object stores data in memory, diff -r 889970e5b728 -r edb590d448c5 jdk/src/share/classes/javax/sql/rowset/Predicate.java --- a/jdk/src/share/classes/javax/sql/rowset/Predicate.java Mon Jun 10 12:26:20 2013 +0200 +++ b/jdk/src/share/classes/javax/sql/rowset/Predicate.java Mon Jun 10 12:58:32 2013 +0100 @@ -53,8 +53,7 @@ * and application motivated implementations of Predicate to emerge. *

    * A sample implementation would look something like this: - *

    - * 
    + * 
    {@code
      *    public class Range implements Predicate {
      *
      *       private Object lo[];
    @@ -79,19 +78,19 @@
      *              if ((rs.getObject(idx[i]) >= lo[i]) &&
      *                  (rs.getObject(idx[i]) >= hi[i]) {
      *                  bool1 = true; // within filter constraints
    + *              } else {
    + *                  bool2 = true; // outside of filter constraints
    + *              }
    + *          }
    + *
    + *          if (bool2) {
    + *             return false;
      *          } else {
    - *            bool2 = true; // outside of filter constraints
    + *             return true;
      *          }
      *      }
    - *
    - *      if (bool2) {
    - *         return false;
    - *      } else {
    - *         return true;
    - *      }
      *  }
    - * 
    - * 
    + * }
    *

    * The example above implements a simple range predicate. Note, that * implementations should but are not required to provider String diff -r 889970e5b728 -r edb590d448c5 jdk/src/share/classes/javax/sql/rowset/RowSetMetaDataImpl.java --- a/jdk/src/share/classes/javax/sql/rowset/RowSetMetaDataImpl.java Mon Jun 10 12:26:20 2013 +0200 +++ b/jdk/src/share/classes/javax/sql/rowset/RowSetMetaDataImpl.java Mon Jun 10 12:58:32 2013 +0100 @@ -159,7 +159,7 @@ * @param property true if the given column is * automatically incremented; false * otherwise - * @throws SQLException if a database access error occurs or + * @throws SQLException if a database access error occurs or * the given index is out of bounds */ public void setAutoIncrement(int columnIndex, boolean property) throws SQLException { @@ -195,7 +195,7 @@ * value can be used in a WHERE clause; * false otherwise * - * @throws SQLException if a database access error occurs or + * @throws SQLException if a database access error occurs or * the given column number is out of bounds */ public void setSearchable(int columnIndex, boolean property) @@ -212,7 +212,7 @@ * must be between 1 and the number of columns, * inclusive between 1 and the number of columns, inclusive * @param property true if the value is a cash value; false otherwise. - * @throws SQLException if a database access error occurs + * @throws SQLException if a database access error occurs * or the given column number is out of bounds */ public void setCurrency(int columnIndex, boolean property) @@ -233,7 +233,7 @@ * columnNullable, or * columnNullableUnknown * - * @throws SQLException if a database access error occurs, + * @throws SQLException if a database access error occurs, * the given column number is out of bounds, or the value supplied * for the property parameter is not one of the following * constants: diff -r 889970e5b728 -r edb590d448c5 jdk/src/share/classes/javax/sql/rowset/spi/SyncFactory.java --- a/jdk/src/share/classes/javax/sql/rowset/spi/SyncFactory.java Mon Jun 10 12:26:20 2013 +0200 +++ b/jdk/src/share/classes/javax/sql/rowset/spi/SyncFactory.java Mon Jun 10 12:58:32 2013 +0100 @@ -627,8 +627,6 @@ * required * @throws java.lang.SecurityException if a security manager exists and its * {@code checkPermission} method denies calling {@code setLogger} - * @throws java.util.logging.LoggingPermission if a security manager exists and its - * {@code checkPermission} method denies calling {@code setLevel} * @throws NullPointerException if the logger is null * @see SecurityManager#checkPermission * @see LoggingPermission diff -r 889970e5b728 -r edb590d448c5 jdk/src/share/classes/javax/sql/rowset/spi/SyncResolver.java --- a/jdk/src/share/classes/javax/sql/rowset/spi/SyncResolver.java Mon Jun 10 12:26:20 2013 +0200 +++ b/jdk/src/share/classes/javax/sql/rowset/spi/SyncResolver.java Mon Jun 10 12:58:32 2013 +0100 @@ -193,7 +193,7 @@ * code fragment, the value in crs is the one set as the resolved value, which means * that it will be used to overwrite the conflict value in the data source. * - *

    + * 
    {@code
      *     try {
      *
      *         crs.acceptChanges(con);
    @@ -202,8 +202,8 @@
      *
      *         SyncResolver resolver = spe.getSyncResolver();
      *
    - *         Object crsValue;  // value in the RowSet object
    - *         Object resolverValue:  // value in the SyncResolver object
    + *         Object crsValue;  // value in the RowSet object
    + *         Object resolverValue:  // value in the SyncResolver object
      *         Object resolvedValue:  // value to be persisted
      *
      *         while(resolver.nextConflict())  {
    @@ -227,7 +227,7 @@
      *              }
      *          }
      *      }
    - * 
    + * }
    * @author Jonathan Bruce */ diff -r 889970e5b728 -r edb590d448c5 jdk/src/share/classes/javax/xml/crypto/dsig/Manifest.java --- a/jdk/src/share/classes/javax/xml/crypto/dsig/Manifest.java Mon Jun 10 12:26:20 2013 +0200 +++ b/jdk/src/share/classes/javax/xml/crypto/dsig/Manifest.java Mon Jun 10 12:58:32 2013 +0100 @@ -35,15 +35,15 @@ * the * W3C Recommendation for XML-Signature Syntax and Processing. * The XML Schema Definition is defined as: - *
    
    - * <element name="Manifest" type="ds:ManifestType"/>
    - *   <complexType name="ManifestType">
    - *     <sequence>
    - *       <element ref="ds:Reference" maxOccurs="unbounded"/>
    - *     </sequence>
    - *     <attribute name="Id" type="ID" use="optional"/>
    - *   </complexType>
    - * 
    + *
    {@code
    + * 
    + *   
    + *     
    + *       
    + *     
    + *     
    + *   
    + * }
    * * A Manifest instance may be created by invoking * one of the {@link XMLSignatureFactory#newManifest newManifest}