On Tue, 8 Feb 2022 11:41:16 GMT, Daniel Jeliński <djelin...@openjdk.org> wrote:
> This patch fixes jdk.accessibility compilation under VisualStudio 2019 with > /Zc:strictStrings enabled. > > Strict string handling is already enabled in GCC and Clang. With some effort > we should be able to enable it in MSVC as well. Hi, can I get a review for this change? This is similar to #7379, but in a different subcomponent (Accessibility vs. AWT). I added `const` qualifier to a bunch of function parameters. Additionally I removed one (unused) function and one (mismatching) function declaration; build passed, tier1 and tier2 green. Verified with both vs2019 and vs2017. ------------- PR: https://git.openjdk.java.net/jdk/pull/7380