RFR: 8127: Use ProcessHandle API to get PIDs [v2]

Christoph Langer clanger at openjdk.org
Sun Oct 15 11:29:56 UTC 2023


On Sun, 15 Oct 2023 11:17:21 GMT, Christoph Dreis <duke at openjdk.org> wrote:

>> Sure, or do you think it is needed?
>
> Well, theoretically the method can throw an exception. With security managers in place for example, but this is deprecated for removal in https://openjdk.org/jeps/411 so I'd go for removal.

Yep. But there's no checked exception, so we shouldn't cater for something theoretical here. 😄

-------------

PR Review Comment: https://git.openjdk.org/jmc/pull/522#discussion_r1359857595


More information about the jmc-dev mailing list