JDK 9 RFR of JDK-8083436: Doclint regression introduced by JDK-8043758

Bradford Wetmore bradford.wetmore at oracle.com
Thu Jun 4 00:45:03 UTC 2015


Or I think you could also just remove the args, since there is only one 
compareUnsigned currently.  Probably safer to use long, long.

Brad


On 6/3/2015 4:06 PM, Joseph D. Darcy wrote:
> Hello,
>
> Please review the patch below to address a recently introduced doclint
> regression.
>
> Thanks,
>
> -Joe
>
> diff -r 5f952ade41ff
> src/java.base/share/classes/javax/net/ssl/SSLEngineResult.java
> --- a/src/java.base/share/classes/javax/net/ssl/SSLEngineResult.java Wed
> Jun 03 14:35:17 2015 -0700
> +++ b/src/java.base/share/classes/javax/net/ssl/SSLEngineResult.java Wed
> Jun 03 16:04:22 2015 -0700
> @@ -280,7 +280,7 @@
>        * @apiNote  Note that sequence number is an unsigned long and cannot
>        *           exceed {@code -1L}.  It is desired to use the unsigned
>        *           long comparing mode for comparison of unsigned long
> values
> -     *           (see also {@link java.lang.Long#compareUnsigned()
> +     *           (see also {@link java.lang.Long#compareUnsigned(long,
> long)
>        *           Long.compareUnsigned()}).
>        *           <P>
>        *           For DTLS protocols, the first 16 bits of the sequence
> @@ -300,7 +300,7 @@
>        *          record; or ${@code -1L} if no record is produced or
> consumed,
>        *          or this operation is not supported by the underlying
> provider
>        *
> -     * @see     java.lang.Long#compareUnsigned(boolean, boolean)
> +     * @see     java.lang.Long#compareUnsigned(long, long)
>        *
>        * @since   1.9
>        */
>



More information about the security-dev mailing list