RFR: 8278908: [macOS] Unexpected text normalization on pasting from clipboard

Sergey Bylokhov serb at openjdk.java.net
Thu Dec 23 01:44:14 UTC 2021


On Thu, 16 Dec 2021 15:53:26 GMT, Dmitry Batrak <dbatrak at 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.

This code was added by changeset in the macosx-port project and never changed since then, probably the goal was to align behavior with jdk6? See the changeset below , take a look to the usage of CFStringNormalize/Normalizer.normalize, is it possible that both is used for some other reason?
https://hg.openjdk.java.net/macosx-port/macosx-port/jdk/rev/dfe77a31519f

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

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



More information about the client-libs-dev mailing list