<AWT Dev> RFR: JDK-8253791: Issue with useAppleColor check in CSystemColors.m

Lutz Schmidt lucy at openjdk.java.net
Tue Sep 29 19:54:57 UTC 2020


On Tue, 29 Sep 2020 14:40:27 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

> While looking into XCode 12 compilation issues, a problem in
> jdk/src/java.desktop/macosx/native/libawt_lwawt/awt/CSystemColors.m was found when checking the useAppleColor flag .
> Because this is a general issue and not really much related to XCode 12 (just shown when using the new compiler) a
> separate issue is filed for it.  See also
> https://git.openjdk.java.net/jdk/pull/348
> (where Paul Hohensee created a change containing another XCode 12 issue;  but in the discussion it was seen as
> beneficial to separate the 2)
> Best regards, Matthias

This is a coding (operator precedence) error which goes unnoticed again and again. Thanks for fixing.

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

Marked as reviewed by lucy (Reviewer).

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


More information about the awt-dev mailing list