-
Bug
-
Resolution: Fixed
-
P3
-
7, 8, 11, 15, 16
-
b18
-
generic
-
os_x
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8256989 | 15u-cpu | Matthias Baesken | P3 | Resolved | Fixed | master |
JDK-8256404 | 15.0.2 | Matthias Baesken | P3 | Resolved | Fixed | b06 |
JDK-8255588 | 13.0.6 | Matthias Baesken | P3 | Resolved | Fixed | b01 |
JDK-8253897 | 11.0.10-oracle | Matthias Baesken | P3 | Resolved | Fixed | b01 |
JDK-8253934 | 11.0.10 | Matthias Baesken | P3 | Resolved | Fixed | b01 |
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
This is the error message:
.../src/java.desktop/macosx/native/libawt_lwawt/awt/CSystemColors.m:129:9: error: converting the result of '?:' with integer constants to a boolean always evaluates to 'true' [-Werror,-Wtautological-constant-compare]
if (colorIndex < (useAppleColor) ? sun_lwawt_macosx_LWCToolkit_NUM_APPLE_COLORS : java_awt_SystemColor_NUM_COLORS) {
^
1 error generated.
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
This is the error message:
.../src/java.desktop/macosx/native/libawt_lwawt/awt/CSystemColors.m:129:9: error: converting the result of '?:' with integer constants to a boolean always evaluates to 'true' [-Werror,-Wtautological-constant-compare]
if (colorIndex < (useAppleColor) ? sun_lwawt_macosx_LWCToolkit_NUM_APPLE_COLORS : java_awt_SystemColor_NUM_COLORS) {
^
1 error generated.
- backported by
-
JDK-8253897 Issue with useAppleColor check in CSystemColors.m
- Resolved
-
JDK-8253934 Issue with useAppleColor check in CSystemColors.m
- Resolved
-
JDK-8255588 Issue with useAppleColor check in CSystemColors.m
- Resolved
-
JDK-8256404 Issue with useAppleColor check in CSystemColors.m
- Resolved
-
JDK-8256989 Issue with useAppleColor check in CSystemColors.m
- Resolved
(2 links to)