Looks good, ... although I question whether any Unix program other than the shell itself should be trying to do tilde-path-expansion. Consider fixing the code by deleting it.
On Fri, Sep 27, 2019 at 3:42 PM Erik Joelsson <erik.joels...@oracle.com> 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. > > Bug: https://bugs.openjdk.java.net/browse/JDK-8231594 > > Webrev: http://cr.openjdk.java.net/~erikj/8231594/webrev.01 > > /Erik > >