RFR: 8136570: Avoid setting environment variables related to /usr/dt
martinrb at google.com
Wed Sep 16 17:57:30 UTC 2015
Mostly moot, now that we have consensus on just deleting these entirely,
but my (original) code was safer because it calls putenv in fewer cases.
Who knows what /usr/dt is "supposed" to look like these days? "Common"
Desktop Environment not so "common" anymore...
On Wed, Sep 16, 2015 at 1:33 AM, Thomas Stüfe <thomas.stuefe at gmail.com>
> Hi Martin,
> would it be not sufficient to just test for existence of /usr/dt before
> the two calls to setPathEnvironment() and leave the rest as it is? I also
> think the intend would be clearer ("only call this if CDE is installed").
> Kind Regards, Thomas
> On Wed, Sep 16, 2015 at 12:13 AM, Martin Buchholz <martinrb at google.com>
>> I reported this bug 12 years ago, but it was closed Will Not Fix, and this
>> year I see java programs crashing because of it!
>> This is a partial fix.
More information about the core-libs-dev