Review request #1: 6863566 (Java should support the freedesktop.org startup notification specification) (original) (raw)
Michael McMahon Michael.McMahon at Sun.COM
Fri Oct 16 11:21:56 UTC 2009
- Previous message: Review request #1: 6863566 (Java should support the freedesktop.org startup notification specification)
- Next message: Review request #1: 6863566 (Java should support the freedesktop.org startup notification specification)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Damjan Jovanovic wrote:
The environment variable: * Must not be inherited by child processes * Ideally, should not be seen by Java apps
AFAIK Java has no API to unset environment variables. It is possible to manipulate the environment passed to sub-processes though. However, the spec is clear on the point that :-
"environment variables which are not modified by Java code will have an unmodified native representation in the subprocess."
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.
- Michael.
- Previous message: Review request #1: 6863566 (Java should support the freedesktop.org startup notification specification)
- Next message: Review request #1: 6863566 (Java should support the freedesktop.org startup notification specification)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]