RFR: 8281440: AWT: Conversion from string literal loses const qualifier
Daniel Jeliński
djelinski at openjdk.java.net
Tue Feb 8 19:07:02 UTC 2022
On Tue, 8 Feb 2022 09:54:26 GMT, Daniel Jeliński <djelinski at openjdk.org> wrote:
> This patch fixes AWT 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.
VS 2017 build also works with these changes, just checked.
-------------
PR: https://git.openjdk.java.net/jdk/pull/7379
More information about the client-libs-dev
mailing list