JavaDoc fix in java.util.Date
Archie Cobbs
archie.cobbs at gmail.com
Wed Apr 30 20:43:20 UTC 2025
On Wed, Apr 30, 2025 at 3:38 PM Steffen Nießing <zuniquex at protonmail.com>
wrote:
> However, the docs should match the expression used in the implementation
> when explicitly naming the returned expression. Should we update both to
> Long.hashCode(this.getTime())?
>
I think that's a little too strong of a statement. Rather, if the docs
describe the behavior using an expression or sample code, the actual
behavior should be equivalent to that expression or sample code; the actual
implementation can effect that result however it wants to, as long as the
result is the same.
-Archie
--
Archie L. Cobbs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/core-libs-dev/attachments/20250430/a44165d6/attachment.htm>
More information about the core-libs-dev
mailing list