2017-05-16 20:38 GMT+02:00 Cédric Champeau <cedric.champ...@gmail.com>: > Let me rephrase: it's tiring to have to repeat why we need it, and why we > honor the contract of environment variables. Why is it so hard to admit the > JDK has a bug?
Hello Cédric, I hope you don't take it wrong or personal, but we really are here to help, unfortunately this attitude is not helping us helping you. I suggest to re-read what Brian just said. The reason why you get suggestion to change how you work is because changing the JDK effect billions of users that may be affected negatively by the changes. Regarding your example: """ println System.getenv('MY_VAR') doesn't print "foo" after doing: MY_VAR=foo gradle printVar """ I agree that the environment variables may change during the program execution and that perhaps Java may eventually need to reflect that, but this example is not really appropriate, the Java process started with an environment variable not set, the one that starts with MY_VAR=foo is technically a different process... Cheers, Mario -- pgp key: http://subkeys.pgp.net/ PGP Key ID: 80F240CF Fingerprint: BA39 9666 94EC 8B73 27FA FC7C 4086 63E3 80F2 40CF Java Champion - Blog: http://neugens.wordpress.com - Twitter: @neugens Proud GNU Classpath developer: http://www.classpath.org/ OpenJDK: http://openjdk.java.net/projects/caciocavallo/ Please, support open standards: http://endsoftpatents.org/