On Mon, 3 Jul 2023 20:28:35 GMT, Alexey Ivanov <aiva...@openjdk.org> wrote:
>> src/java.desktop/macosx/native/libawt_lwawt/awt/CRobot.m line 426: >> >>> 424: } >>> 425: >>> 426: static inline int GetCGKeyMask(int cgKeyCode) >> >> Suggestion: >> >> static inline int GetCGKeyMask(int cgKeyCode) { > > I disagree: the common style throughout this file is to put the opening brace > on the following line. A few lines above, `GetCGKeyCode` follows the same > style. @aivanov-jdk Yeah, I wasn't sure of open brace placement in native - some methods follow Java-style of having the open brace on the same line and few others have it on the next line. Will revert it in the next commit. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/14744#discussion_r1251290246