<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div class="elementToProof" style="font-family: "Calibri Light", "Helvetica Light", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Indeed, Joe is right. Unsigned right shift does not appear often and is equivalent to signed right shift if the sign bit is 0.</div>
<div class="elementToProof" style="font-family: "Calibri Light", "Helvetica Light", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: "Calibri Light", "Helvetica Light", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
However, this piece of quote can get an upgrade - it can become `Long.hashCode(this.getTime())`.</div>
<div class="elementToProof" style="font-family: "Calibri Light", "Helvetica Light", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<ul data-editing-info="{"applyListStyleFromLevel":false,"unorderedStyleType":2}" style="margin-top: 0px; margin-bottom: 0px;">
<li style="font-family: "Calibri Light", "Helvetica Light", sans-serif; font-size: 12pt; color: rgb(0, 0, 0); list-style-type: "- ";">
<div class="elementToProof">Chen</div>
</li></ul>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> core-libs-dev <core-libs-dev-retn@openjdk.org> on behalf of Joseph D. Darcy <joe.darcy@oracle.com><br>
<b>Sent:</b> Wednesday, April 30, 2025 2:54 PM<br>
<b>To:</b> Steffen Nießing <zuniquex@protonmail.com>; core-libs-dev@openjdk.org <core-libs-dev@openjdk.org><br>
<b>Subject:</b> Re: JavaDoc fix in java.util.Date</font>
<div> </div>
</div>
<div>
<div class="x_moz-cite-prefix">Unsigned right shift is non-existent?<br>
</div>
<div class="x_moz-cite-prefix"><br>
</div>
<div class="x_moz-cite-prefix">"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. "</div>
<div class="x_moz-cite-prefix"><br>
</div>
<div class="x_moz-cite-prefix"><a class="x_moz-txt-link-freetext" href="https://docs.oracle.com/javase/specs/jls/se24/html/jls-15.html#jls-15.19">https://docs.oracle.com/javase/specs/jls/se24/html/jls-15.html#jls-15.19</a></div>
<div class="x_moz-cite-prefix"><br>
</div>
<div class="x_moz-cite-prefix">-Joe<br>
</div>
<div class="x_moz-cite-prefix"><br>
</div>
<div class="x_moz-cite-prefix">On 4/30/2025 12:46 PM, Steffen Nießing wrote:<br>
</div>
<blockquote type="cite">
<div>Hello,</div>
<div style="font-family:Arial,sans-serif; font-size:14px; color:rgb(0,0,0); background-color:rgb(255,255,255)">
<br>
</div>
<div style="font-family:Arial,sans-serif; font-size:14px; color:rgb(0,0,0); background-color:rgb(255,255,255)">
I'm new to the OpenJDK community and plan to make my first change.</div>
<div style="font-family:Arial,sans-serif; font-size:14px; color:rgb(0,0,0); background-color:rgb(255,255,255)">
<br>
</div>
<div style="font-family:Arial,sans-serif; font-size:14px; color:rgb(0,0,0); background-color:rgb(255,255,255)">
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 '>>>'.</div>
<div style="font-family:Arial,sans-serif; font-size:14px; color:rgb(0,0,0); background-color:rgb(255,255,255)">
<br>
</div>
<div style="font-family:Arial,sans-serif; font-size:14px; color:rgb(0,0,0); background-color:rgb(255,255,255)">
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.</div>
<div style="font-family:Arial,sans-serif; font-size:14px; color:rgb(0,0,0); background-color:rgb(255,255,255)">
<br>
</div>
<div style="font-family:Arial,sans-serif; font-size:14px; color:rgb(0,0,0); background-color:rgb(255,255,255)">
Cheers,</div>
<div style="font-family:Arial,sans-serif; font-size:14px; color:rgb(0,0,0); background-color:rgb(255,255,255)">
Steffen</div>
</blockquote>
<p><br>
</p>
</div>
</body>
</html>