< prev index next >

src/java.base/share/classes/java/lang/ProcessHandle.java

Print this page
rev 12437 : 8131168: Refactor ProcessHandleImpl_*.c and add implememtation for AIX

*** 217,234 **** --- 217,242 ---- */ 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 >