RFR: 8306075: Micro-optimize Enum.hashCode [v4]

olivergillespie duke at openjdk.org
Mon Apr 17 15:44:34 UTC 2023


On Mon, 17 Apr 2023 15:30:52 GMT, Alan Bateman <alanb at openjdk.org> wrote:

>> I would change this to be an non-javadoc comment.  (Change /** to /*)
>> An there is no need for javadoc \implNote or @link javadoc markup.
>> There is very little value in being able to generate javadoc for --private.
>> (In part because most private implementations are not documented to javadoc standards).
>
> Yes, it is a bit strange to see @implNote here as this is a private field that isn't going to show up in the javadoc. The javadoc for non-transient fields in Serializable classes does show up in the Serialized Form page but this Enum which is special.

Thanks, so I'll switch to a `/*` comment with no markup?

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/13491#discussion_r1168924827


More information about the core-libs-dev mailing list