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

Nizar Benalla nbenalla at openjdk.org
Thu May 22 15:18:43 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:

  revert changes to MethodType.java. <code>foo</code> markup should not be used

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

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

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

  Stats: 3 lines in 1 file changed: 0 ins; 0 del; 3 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