jruby/jruby — pull request #2082 by cheald (2014-11-03 16:36:35+00:00)
Title: Implement Process#groups for non-Windows machines

Implements `Process#groups`. This relies on the `com.sun.security.auth.module.UnixSystem` class, which is only present in *nix distributions of the JRE; it is actually not present on Windows (a similar NTSystem module is instead present).

I've attempted to build JRuby on Windows, but my Windows build environment is sadly not up to date. However, based on some Googling, avoiding the import and instead referencing the full package name at runtime should allow the project to compile on Windows while still avoiding referencing classes that don't exist at runtime.