Review request #1: 6863566 (Java should support the freedesktop.org startup notification specification)
martinrb at google.com
Fri Oct 16 13:41:08 UTC 2009
On Fri, Oct 16, 2009 at 04:21, Michael McMahon <Michael.McMahon at sun.com> wrote:
> Damjan Jovanovic wrote:
> "environment variables which are not modified by Java code will have
> an unmodified native representation in the subprocess."
The intent of that statement is to promise not to mangle
environment variables that cannot be represented
as a String, perhaps because they contain undecodable binary
data. IIRC, bash doesn't get this right.
> I wonder if it might make sense to change this, so that some kind
> of default filtering could be applied? I don't know if it warrants a new API
> to do this, but maybe a system property could define a list of environment
> variables that are not passed to child processes. And this could be used
> in the desktop launcher scripts.
I continue to resist the addition of such a global mechanism.
More information about the core-libs-dev