RFR: 8294456: Fix misleading-indentation warnings in JDK [v2]

Aleksey Shipilev shade at openjdk.org
Wed Oct 5 12:11:21 UTC 2022


On Wed, 5 Oct 2022 12:01:00 GMT, Raffaello Giulietti <rgiulietti at openjdk.org> wrote:

>> make/modules/java.desktop/lib/Awt2dLibraries.gmk line 298:
>> 
>>> 296:     HEADERS_FROM_SRC := $(LIBLCMS_HEADERS_FROM_SRC), \
>>> 297:     DISABLED_WARNINGS_gcc := format-nonliteral type-limits \
>>> 298:         undef unused-function stringop-truncation, \
>> 
>> Ok, let's not touch this global warning and rename the issue to "Fix misleading-indentation warnings in core JDK libraries". Leave the Awt2d change to another day.
>
> What is the problem with Awt2d? Other conflicts?

I am not completely sure all `misleading-indentation` warnings are fixed in Awt2d, this would require some more testing. I'd defer that to #10453.

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

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



More information about the client-libs-dev mailing list