JDK-8371991 : Build failure in docs for MemoryMXBean
  • Type: Bug
  • Component: core-svc
  • Sub-Component: java.lang.management
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2025-11-17
  • Updated: 2025-11-24
  • Resolved: 2025-11-17
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 26
26 b25Fixed
Related Reports
Causes :  
Description
After integrating
8368527: JMX: Add an MXBeans method to query GC CPU time
there is a build failure due to the link in the javadoc.


src/java.management/share/classes/java/lang/management/MemoryMXBean.java:283: error: reference not found
 * May be used in conjunction with {@link jdk.management/com.sun.management.OperatingSystemMXBean#getProcessCpuTime()}
 ^

Linking between modules causes a failure in "make docs-javase".

Comments
Changeset: 960987e8 Branch: master Author: Kevin Walls <kevinw@openjdk.org> Date: 2025-11-17 13:40:36 +0000 URL: https://git.openjdk.org/jdk/commit/960987e8c1428ce1d89ee13e007e06206fe6885c
17-11-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/28350 Date: 2025-11-17 13:23:15 +0000
17-11-2025