src/share/classes/sun/awt/OSInfo.java

Print this page
rev 4258 : [NEW BUG]: Add Look&Feel support for AIX platform
Contributed-by: Sean Chou <zhouyx@linux.vnet.ibm.com>

*** 37,46 **** --- 37,47 ---- public class OSInfo { public static enum OSType { WINDOWS, LINUX, SOLARIS, + AIX, UNKNOWN } /* The map windowsVersionMap must contain all windows version constants except WINDOWS_UNKNOWN,
*** 99,108 **** --- 100,112 ---- if (osName.contains("Solaris") || osName.contains("SunOS")) { return SOLARIS; } // determine another OS here + if(osName.contains("AIX")) { + return AIX; + } } return UNKNOWN; }