-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P3
-
Affects Version/s: 9
-
Component/s: core-libs
-
b93
java.lang.Process.info() method incorrectly describes the methods of the Info interface as returning null; they return empty Optionals when information is missing.
"An {@link ProcessHandle.Info} instance has various accessor methods
* that return information about the process, if the process is alive and
* the information is available, otherwise {@code null} is returned."
The phrase ", otherwise {@code null} is returned" should be removed.
It will then match the description in ProcessHandle.info().
"An {@link ProcessHandle.Info} instance has various accessor methods
* that return information about the process, if the process is alive and
* the information is available, otherwise {@code null} is returned."
The phrase ", otherwise {@code null} is returned" should be removed.
It will then match the description in ProcessHandle.info().