RFR: 8256538: Fix annoying awk warning in configure for java versions
Bernhard Urban-Forster
burban at openjdk.java.net
Wed Nov 18 14:16:08 UTC 2020
On Wed, 18 Nov 2020 13:35:14 GMT, Erik Joelsson <erikj 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.
>
> Marked as reviewed by erikj (Reviewer).
Thank you Magnus, this is something that has bugged me as well.
FWIW the same problem exists here with the build JDK detection: https://github.com/openjdk/jdk/blob/9d5fd4fcabf7bdf580e2fff8e12c2cf130ef44c9/make/autoconf/boot-jdk.m4#L519
Would you mind fixing it as part of this PR too?
-------------
PR: https://git.openjdk.java.net/jdk/pull/1285
More information about the build-dev
mailing list