RFR: 8281523: Accessibility: Conversion from string literal loses const qualifier

Daniel Jeliński djelinski at openjdk.java.net
Wed Feb 9 07:52:25 UTC 2022


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.

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

Commit messages:
 - Remove dead code
 - Strict string handling

Changes: https://git.openjdk.java.net/jdk/pull/7380/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=7380&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8281523
  Stats: 46 lines in 9 files changed: 0 ins; 28 del; 18 mod
  Patch: https://git.openjdk.java.net/jdk/pull/7380.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/7380/head:pull/7380

PR: https://git.openjdk.java.net/jdk/pull/7380



More information about the client-libs-dev mailing list