JavaDoc fix in java.util.Date

Joseph D. Darcy joe.darcy at oracle.com
Wed Apr 30 19:54:04 UTC 2025


Unsigned right shift is non-existent?

"The operators << (left shift), >> (signed right shift), and >>> 
(unsigned right shift) are called the shift operators. The left-hand 
operand of a shift operator is the value to be shifted; the right-hand 
operand specifies the shift distance. "

https://docs.oracle.com/javase/specs/jls/se24/html/jls-15.html#jls-15.19

-Joe

On 4/30/2025 12:46 PM, Steffen Nießing wrote:
> Hello,
>
> I'm new to the OpenJDK community and plan to make my first change.
>
> I've found a small mistake in the documentation of 
> java.util.Date#hashCode(). The documentation provides a Java 
> expression of the returned value, which uses a non-existent operator 
> '>>>'.
>
> Now I'm searching for a sponsor for a JBS issue and the code review. 
> Chen Liang directed me to this mailing list to ask for sponsoring on 
> this topic.
>
> Cheers,
> Steffen

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/core-libs-dev/attachments/20250430/9ea3cf75/attachment.htm>


More information about the core-libs-dev mailing list