Description
A few of the tests use reflection to get the pid of a process from java.lang.ProcessImpl, which no longer works by default on newer Java releases such as 17 (probably 16+).
Though the existing approach can be made to with an --add-opens flag, this route is actually no longer necessary as a pid() accessor was added to the Process interface in Java 9, so since the codebase now requires Java 11 we can just simply update the tests to use that method.