Skip to content

Conversation

headius
Copy link
Member

@headius headius commented Jun 28, 2024

This is a modified version of a patch proposed in #7515 (comment) that uses a third mechanism for getting the PID: the pid method added to ProcessImpl in 8 and made public in Process in 9.

For JRuby 10, which will target Java 17 or 21, we can just call pid directly.

Fixes #7515

This is a modified version of a patch proposed in jruby#7515 (comment)
that uses a third mechanism for getting the PID: the `pid` method
added to ProcessImpl in 8 and made public in Process in 9.

For JRuby 10, which will target Java 17 or 21, we can just call
`pid` directly.

Fixes jruby#7515
@headius headius force-pushed the windows_real_pid branch from a555166 to e690825 Compare July 1, 2024 18:27
@headius headius merged commit 4352f57 into jruby:master Jul 1, 2024
@headius headius deleted the windows_real_pid branch July 1, 2024 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Process.wait and Process.wait2 not behaving as expected on Windows with JDK > 8
2 participants