On Wed, 16 Jul 2025 12:44:45 GMT, Matthias Baesken <mbaes...@openjdk.org> wrote:
> We have build errors on AIX , seems related to > [JDK-8354415](https://bugs.openjdk.org/browse/JDK-8354415) : > > > === Output from failing command(s) repeated here === > * For target support_native_java.desktop_libawt_xawt_awt_GraphicsEnv.o: > /priv/jenkins/client-home/workspace/openjdk-jdk-aix_ppc64-opt/jdk/src/java.desktop/unix/native/libawt_xawt/awt/awt_GraphicsEnv.c:1751:43: > error: unknown type name 'XRRModeInfo' > 1751 | static jint refreshRateFromModeInfo(const XRRModeInfo *modeInfo) { > | ^ > /priv/jenkins/client-home/workspace/openjdk-jdk-aix_ppc64-opt/jdk/src/java.desktop/unix/native/libawt_xawt/awt/awt_GraphicsEnv.c:1758:31: > error: use of undeclared identifier 'RR_Interlace' > 1758 | if (modeInfo->modeFlags & RR_Interlace) { > | ^ > /priv/jenkins/client-home/workspace/openjdk-jdk-aix_ppc64-opt/jdk/src/java.desktop/unix/native/libawt_xawt/awt/awt_GraphicsEnv.c:1762:31: > error: use of undeclared identifier 'RR_DoubleScan' > 1762 | if (modeInfo->modeFlags & RR_DoubleScan) { > | ^ > /priv/jenkins/client-home/workspace/openjdk-jdk-aix_ppc64-opt/jdk/src/java.desktop/unix/native/libawt_xawt/awt/awt_GraphicsEnv.c:1769:43: > error: unknown type name 'XRRCrtcInfo' > 1769 | static inline Bool isLandscapeOrientation(XRRCrtcInfo* info) { > | ^ > /priv/jenkins/client-home/workspace/openjdk-jdk-aix_ppc64-opt/jdk/src/java.desktop/unix/native/libawt_xawt/awt/awt_GraphicsEnv.c:1773:30: > error: use of undeclared identifier 'RR_Rotate_0' > 1773 | return info->rotation == RR_Rotate_0 || info->rotation == > RR_Rotate_180; > | ^ > ... (rest of output omitted) > > > Seems we miss some checks for the NO_XRANDR macro. Marked as reviewed by clanger (Reviewer). ------------- PR Review: https://git.openjdk.org/jdk/pull/26348#pullrequestreview-3028151108