-
Bug
-
Resolution: Fixed
-
P3
-
9
-
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().