RFR: 8238435: [macOs] Remove use of CGEventTap

Andy Goryachev angorya at openjdk.org
Mon May 19 15:20:59 UTC 2025


On Sun, 18 May 2025 19:02:14 GMT, Martin Fox <mfox at openjdk.org> wrote:

> The GlassTouches code for monitoring touch events was disabled years ago because it uses a global event tap. As Apple tightened security this started generating alerts. With the latest version of Xcode (16.3) this unused code is triggering a build error. This PR removes GlassTouches entirely.

The code changes look good to me;  did not see any regression running jfx built with XCODE version: Xcode14.3.1+1.0

command line:

(rm -rf ./build ; gradle -PCOMPILE_MEDIA=true -PCOMPILE_WEBKIT=true clean all 2>&1) | tee ~/`date +"build-full-%Y-%m%d-%H%M%S"`.log


(I don't not want to upgrade XCode yet)

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

Marked as reviewed by angorya (Reviewer).

PR Review: https://git.openjdk.org/jfx/pull/1812#pullrequestreview-2851156408


More information about the openjfx-dev mailing list