File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/java.base/share/classes/java/lang Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ final class ProcessHandleImpl implements ProcessHandle {
5454 /**
5555 * Default size of stack for reaper processes.
5656 */
57- private static long REAPER_DEFAULT_STACKSIZE = 128 * 1024 ;
57+ private static final long REAPER_DEFAULT_STACKSIZE = 128 * 1024 ;
5858
5959 /**
6060 * Return value from waitForProcessExit0 indicating the process is not a child.
@@ -218,10 +218,10 @@ public CompletableFuture<ProcessHandle> onExit() {
218218 * Typically, this is because the OS can not supply it.
219219 * The process is known to exist but not the exact start time.
220220 */
221- private final long STARTTIME_ANY = 0L ;
221+ private static final long STARTTIME_ANY = 0L ;
222222
223223 /* The start time of a Process that does not exist. */
224- private final long STARTTIME_PROCESS_UNKNOWN = -1 ;
224+ private static final long STARTTIME_PROCESS_UNKNOWN = -1 ;
225225
226226 /**
227227 * Private constructor. Instances are created by the {@code get(long)} factory.
You can’t perform that action at this time.
0 commit comments