On Thu, 16 Dec 2021 15:53:26 GMT, Dmitry Batrak <dbat...@openjdk.org> wrote:
> The fix just removes the explicit normalization of text obtained from system > clipboard in JDK code, as I've found no > good justification for such a normalization, at least for the latest macOS > version. > The same fix was performed in JetBrains Runtime by a user's request more than > 4 years ago, and we didn't receive any > related complaints from our users ever since. Sure, I just don't know a 'functional' enough approach to check it, like I've done it for text copy/paste. If you mean checking the normalization macOS APIs use when returning filenames, it definitely not NFC. At least, after I rename a file using Finder, its filename is returned in NFD (decomposed) form by both file access APIs (e.g. `readdir` from C library or `NSFileManager` from Foundation framework) and when read from clipboard (for `NSFilenamesPboardType` data type). ------------- PR: https://git.openjdk.java.net/jdk/pull/6866