RFR: 8356632: Fix remaining {@link/@linkplain} tags with refer to private/protected types in java.base [v3]

Nizar Benalla nbenalla at openjdk.org
Fri May 23 14:59:07 UTC 2025


> Please review this patch to fix some `javadoc` bugs in `java.base`.
> Certain `@link` tags used to refer to private fields instead of public APIs.
> 
> A couple of `@see` tags in the [serialization page](https://download.java.net/java/early_access/jdk25/docs/api/serialized-form.html#java.lang.invoke.MethodType) referred to private methods, I updated the javadoc in a way to not change the way it is displayed to users but also remove `@link` tags to non-included types.
> 
> TIA

Nizar Benalla has updated the pull request incrementally with one additional commit since the last revision:

  update javadoc based on feedback

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/25287/files
  - new: https://git.openjdk.org/jdk/pull/25287/files/0653af94..daaed6c5

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=25287&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=25287&range=01-02

  Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/25287.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/25287/head:pull/25287

PR: https://git.openjdk.org/jdk/pull/25287


More information about the core-libs-dev mailing list