Hey guys, I'm about to protect the gradle process (gradle main, daemon, gradle worker process) from 3rd party System.exit(). This means that if the client code runs System.exit() then exception will be thrown. It will be still possible to hack around that should some needed (replacing the SecurityManger, etc.) but no longer as simple as calling System.exit() directly.
The rationale is that if the client/3rd party code does System.exit() it is very hard to track it down, especially when building with the daemon. Any objections? Cheers! -- Szczepan Faber Principal engineer@gradleware Lead@mockito
