<i18n dev> RFR: 8342868: Errors related to unused code on Windows after 8339120 in core libs [v2]

Justin Lu jlu at openjdk.org
Thu Oct 31 16:27:29 UTC 2024


On Thu, 31 Oct 2024 05:43:11 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 incrementally with one additional commit since the last revision:
> 
>   Remove the got local

Locale and TimeZone files LGTM. I also think its safe to just delete the offending `onlyMapID` and `got` (as opposed to commenting), since there is no bug and they are simply unusued.

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

Marked as reviewed by jlu (Committer).

PR Review: https://git.openjdk.org/jdk/pull/21654#pullrequestreview-2408471620


More information about the i18n-dev mailing list