RFR: 8281523: Accessibility: Conversion from string literal loses const qualifier
Phil Race
prr at openjdk.java.net
Mon Feb 14 20:46:11 UTC 2022
On Tue, 8 Feb 2022 11:41:16 GMT, Daniel Jeliński <djelinski at 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.
src/jdk.accessibility/windows/native/common/AccessBridgeDebug.cpp line 149:
> 147: /**
> 148: * Send Java debugging info to the appropriate place
> 149: */
Deleting this function - without comment ! - seems to be somewhat out of scope here.
-------------
PR: https://git.openjdk.java.net/jdk/pull/7380
More information about the client-libs-dev
mailing list