RFR: 8342870: Errors related to unused code on Windows after 8339120 in accessibility [v2]

Julian Waters jwaters at openjdk.org
Wed Nov 20 05:41:59 UTC 2024


On Sun, 27 Oct 2024 06:24:49 GMT, Julian Waters <jwaters at openjdk.org> wrote:

>> After 8339120, gcc began catching many different instances of unused code in the Windows specific codebase. Some of these seem to be bugs. I've taken the effort to mark out all the relevant globals and locals that trigger the unused warnings and addressed all of them by commenting out the code as appropriate. I am confident that in many cases this simplistic approach of commenting out code does not fix the underlying issue, and the warning actually found a bug that should be fixed. In these instances, I will be aiming to fix these bugs with help from reviewers, so I recommend anyone reviewing who knows more about the code than I do to see whether there is indeed a bug that needs fixing in a different way than what I did
>
> Julian Waters has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains three commits:
> 
>  - Remove now unused result
>  - Merge branch 'master' into accessibility
>  - 8342870

Also, as mentioned, the fixes in here might not necessarily be correct. These are only stopgap changes to draw attention to the areas causing an issue, so they can be properly caught and fixed if need be

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

PR Comment: https://git.openjdk.org/jdk/pull/21656#issuecomment-2487493307


More information about the client-libs-dev mailing list