On Thu, 20 Oct 2022 18:56:56 GMT, Magnus Ihse Bursie <i...@openjdk.org> wrote:

>> make/modules/jdk.accessibility/Launcher.gmk line 46:
>> 
>>> 44:           -analyze- -Od -Gd -D_WINDOWS \
>>> 45:           -D_UNICODE -DUNICODE -RTC1 -EHsc, \
>>> 46:       DISABLED_WARNINGS_microsoft_jabswitch.cpp := 4267 4996, \
>> 
>> This lib only has one cpp file, so this change doesn't seem that useful.
>
> Heh, I did not notice that.
> 
> I'd still argue that this is a useful change. If some other file were ever to 
> be added, it will not be covered by the blanked disabled warnings, and -- 
> perhaps more important -- it is clear that these warnings can be addressed 
> just by looking at a single file. This information has drastically increased 
> the likelihood that a developer picks up the issue and actually resolves the 
> warnings, as we have seen in other areas where I've done this 
> "warnings-per-file" transition.

I suspect there's already a "fix disabled warnings in jdk.accessibility" .. 
can't we just fix that instead ?
I found it : https://bugs.openjdk.org/browse/JDK-8074847
Let me see what I can do about it.

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

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

Reply via email to