RFR: 8356555: Incorrect use of {@link} in BigDecimal

Nizar Benalla nbenalla at openjdk.org
Fri May 9 10:34:52 UTC 2025


On Thu, 8 May 2025 21:07:16 GMT, Joe Darcy <darcy at openjdk.org> wrote:

> Fix javadoc tags.

I just noticed there are a couple more javadoc tags that need to be fixed in this class, I still see two more warnings. I should have included these in the JBS issue when filling it.


src/java.base/share/classes/java/math/BigDecimal.java:363: warning: reference to non-visible type: BigDecimal.scale (use -protected or -private options to document non-public types)
     * The scale of this BigDecimal, as returned by {@link #scale}.
                                                    ^
src/java.base/share/classes/java/math/BigDecimal.java:366: warning: reference to non-visible type: BigDecimal.scale (use -protected or -private options to document non-public types)
     * @see #scale
       ^
       ```

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

Changes requested by nbenalla (Committer).

PR Review: https://git.openjdk.org/jdk/pull/25131#pullrequestreview-2827841653


More information about the core-libs-dev mailing list