Dependency on ulimit to find the number of file descriptors does not function correctly on the NonStop platform. Reports warnings from gradlew and src/bin/startGroovy. NonStop probably should be handled similarly to cygwin and darwin in this regard.
uname reports NONSTOP_KERNEL, which can be used as a discriminant.
I can supply a git patch for this from commit 310278d if requested.