RFR: 8256538: Fix annoying awk warning in configure for java versions

Magnus Ihse Bursie ihse at openjdk.java.net
Wed Nov 18 12:28:05 UTC 2020


On Wed, 18 Nov 2020 09:47:58 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:

> The change from grep to awk in JDK-8244248 and further bug fixed in JDK-8244756 still has invalid syntax. This causes some awk (most notably gawk, the most commonly used) to complain:
> 
> gawk: cmd. line:1: warning: regexp escape sequence `"' is not a known regexp operator
> 
> This is annoying and should be fixed.

I have gotten confirmation from Martin Doerr that this also works on AIX, which has an awk that previously complained about this pattern. And I've tested it on all platforms used in the Oracle CI system.

-------------

PR: https://git.openjdk.java.net/jdk/pull/1285



More information about the build-dev mailing list