<AWT Dev> RFR: 8136570: Avoid setting environment variables related to /usr/dt

Martin Buchholz 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>
> wrote:
>> 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.
>> https://bugs.openjdk.java.net/browse/JDK-8136570
>> https://bugs.openjdk.java.net/browse/JDK-4953367
>> http://cr.openjdk.java.net/~martin/webrevs/openjdk9/usr-dt-environment/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/awt-dev/attachments/20150916/e74d1768/attachment-0001.html>

More information about the awt-dev mailing list