Getting a live view of environment variables (Gradle and JDK 9)

Martin Buchholz martinrb at google.com
Tue May 16 20:21:08 UTC 2017


On Tue, May 16, 2017 at 12:29 PM, Chris Hegarty <chris.hegarty at oracle.com>
wrote:

>
> Re-reading/refreshing the env variables has come up before, in other
> contexts. As David pointed out [1], re-reading introduces no more risk than
> is already there ( if specified correctly ).
>

Adding a Java API for re-reading would be really weird because there would
be no Java API for writing, and there's no way on a Unix system to write at
all without introducing a risk of SEGV.


> -Chris.
>
> [1] http://mail.openjdk.java.net/pipermail/core-libs-dev/2017-
> May/047668.html


More information about the core-libs-dev mailing list