RFR: 8333828: Use value javadoc tag in java.lang.{Float, Double}
Chen Liang
liach at openjdk.org
Fri Jun 7 22:03:12 UTC 2024
On Fri, 7 Jun 2024 21:05:33 GMT, Joe Darcy <darcy at openjdk.org> wrote:
> Use the value tag to make the javadoc for various format-related constants more informative to readers. Currently the information is available by following the "Constant Field Values" link.
>
> I'll reflow the paragraphs before a push.
Since you are using the value tag on the field themselves to display their own value, I believe a `{@value}` suffices. See the example in java.lang.constant.ConstantDescs: https://github.com/openjdk/jdk/blob/cf677c901e70d98404ec9cc3d75a93926e02fcd2/src/java.base/share/classes/java/lang/constant/ConstantDescs.java#L307
https://docs.oracle.com/en/java/javase/22/docs/api/java.base/java/lang/constant/ConstantDescs.html#INIT_NAME
-------------
PR Comment: https://git.openjdk.org/jdk/pull/19607#issuecomment-2155627548
More information about the core-libs-dev
mailing list