< prev index next >
src/java.base/share/classes/java/lang/ProcessHandle.java
Print this page
rev 12467 : 8131168: Refactor ProcessHandleImpl_*.c and add implememtation for AIX
@@ -217,18 +217,26 @@
*/
public interface Info {
/**
* Returns the executable pathname of the process.
*
+ * @implNote Note that the returned pathname may be truncated on some
+ * platforms due to system limitations. It may also only
+ * contain the name of the executable without the full path
+ * information.
+ *
* @return an {@code Optional<String>} of the executable pathname
* of the process
*/
public Optional<String> command();
/**
* Returns an array of Strings of the arguments of the process.
*
+ * @implNote Note that the argument list may be truncated on some
+ * platforms due to system limitations.
+ *
* @return an {@code Optional<String[]>} of the arguments of the process
*/
public Optional<String[]> arguments();
/**
< prev index next >