<div dir="ltr"><div>Hi Martin,</div><div><br></div><div>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").</div><div><br></div><div>Kind Regards, Thomas</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 16, 2015 at 12:13 AM, Martin Buchholz <span dir="ltr"><<a href="mailto:martinrb@google.com" target="_blank">martinrb@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I reported this bug 12 years ago, but it was closed Will Not Fix, and this<br>
year I see java programs crashing because of it!<br>
This is a partial fix.<br>
<br>
<a href="https://bugs.openjdk.java.net/browse/JDK-8136570" rel="noreferrer" target="_blank">https://bugs.openjdk.java.net/browse/JDK-8136570</a><br>
<a href="https://bugs.openjdk.java.net/browse/JDK-4953367" rel="noreferrer" target="_blank">https://bugs.openjdk.java.net/browse/JDK-4953367</a><br>
<a href="http://cr.openjdk.java.net/~martin/webrevs/openjdk9/usr-dt-environment/" rel="noreferrer" target="_blank">http://cr.openjdk.java.net/~martin/webrevs/openjdk9/usr-dt-environment/</a><br>
</blockquote></div><br></div>