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.

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

Commit messages:
 - JDK-8362390

Changes: https://git.openjdk.org/jdk/pull/26348/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=26348&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8362390
  Stats: 2 lines in 1 file changed: 1 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/26348.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/26348/head:pull/26348

PR: https://git.openjdk.org/jdk/pull/26348

Reply via email to