RFR: JDK-8231594: Configure fails on some Linux systems

Magnus Ihse Bursie magnus.ihse.bursie at oracle.com
Mon Sep 30 09:41:32 UTC 2019


On 2019-09-28 00:37, Erik Joelsson wrote:
> In my recent change JDK-8206125, I introduced a bash conditional that 
> checks if a string starts with ~. That check seems to fail on some 
> Linux systems unless the ~ is quoted.
Do you need the check? The old code, prior to JDK-8206125, 
unconditionally made the eval. Maybe that was a safer route? This feels 
a bit shaky, and the old code has (afaik) been working okay.

/Magnus
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8231594
>
> Webrev: http://cr.openjdk.java.net/~erikj/8231594/webrev.01
>
> /Erik
>




More information about the build-dev mailing list