RFR: 8294456: Fix misleading-indentation warnings in JDK

Raffaello Giulietti rgiulietti at openjdk.org
Thu Sep 29 13:18:11 UTC 2022


On Thu, 29 Sep 2022 13:11:03 GMT, Raffaello Giulietti <rgiulietti at openjdk.org> wrote:

> This fixes misleading indentations, which allows enabling the (currently disabled) `misleading-indentation` warning flag on two `.gmk` files.

The misleading indentation might indicate the original intent of the author, which might have forgotten to add braces around the indented code. Anyway, this fix does _not_ address whether the numerical algorithm in itself is correct, it only corrects the indentation.

The original source code also contains misleading indentation, see:
https://netlib.org/fdlibm/e_asin.c
https://netlib.org/fdlibm/k_rem_pio2.c

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

PR: https://git.openjdk.org/jdk/pull/10487



More information about the client-libs-dev mailing list