forked from jruby/jruby
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enhance reflective pid-getting for Windows Java 8+
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
- Loading branch information
Showing
1 changed file
with
77 additions
and
49 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