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,10 +37,11 @@
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,10 +100,13 @@
if (osName.contains("Solaris") || osName.contains("SunOS")) {
return SOLARIS;
}
// determine another OS here
+ if(osName.contains("AIX")) {
+ return AIX;
+ }
}
return UNKNOWN;
}