This repository has been archived by the owner on Jul 31, 2021. It is now read-only.
forked from AdoptOpenJDK/openjdk-jdk11u
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes for process handling on FreeBSD
* Extract the command executable using KERN_PROC_PATHNAME, which provides the resolved path for the command executable. This matches Linux which always outputs the resolved path even if it isn't specified in the Java code. * Fix command argument extraction to work correctly. * Avoid exceptions if the process has exited when trying to get either the executable path or the arguments.
- Loading branch information
1 parent
e8573d4
commit 62f1e88
Showing
1 changed file
with
45 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters