-
CSR
-
Resolution: Approved
-
P4
-
None
-
minimal
-
This is spec change only. Behavior change is made under
JDK-8226575 -
Java API
-
JDK
Original CSR: https://bugs.openjdk.java.net/browse/JDK-8242431.
Summary
Update com.sun.management.OperatingSystemMXBean
class to correct the links in the javadoc.
Problem
Current javadoc for method getTotalPhysicalMemorySize()
uses links to non-existing method getMemorySize()
instead of links to method getTotalMemorySize()
.
Solution
Update javadoc for method getTotalPhysicalMemorySize()
to replace links to getMemorySize()
method with links to method getTotalMemorySize()
.
Specification
Update com.sun.management.OperatingSystemMXBean
class as below:
@@ -110,11 +110,11 @@
/**
* Returns the total amount of physical memory in bytes.
*
- * @deprecated Use {@link #getMemorySize()} instead of
+ * @deprecated Use {@link #getTotalMemorySize()} instead of
* this historically named method.
*
* @implSpec This implementation must return the same value
- * as {@link #getMemorySize()}.
+ * as {@link #getTotalMemorySize()}.
*
* @return the total amount of physical memory in bytes.
*/
- csr of
-
JDK-8242762 Correct links in javadoc of OperatingSystemMXBean
-
- Resolved
-