Added support for IBM AIX 1.5 VM

This commit is contained in:
Trustin Lee 2008-09-01 14:31:31 +00:00
parent fefe10f2dd
commit 3e3162da1a

View File

@ -177,6 +177,14 @@ class NioProviderMetadata {
return 2; return 2;
} }
} }
// AIX
} if (os.indexOf("aix") >= 0) {
if (version.equals("1.5") || version.matches("^1\\.5\\D.*$")) {
if (provider.equals("sun.nio.ch.PollSelectorProvider")) {
return 1;
}
}
} }
// BEA // BEA
} else if (vendor.indexOf("bea") >= 0 || vendor.indexOf("oracle") >= 0) { } else if (vendor.indexOf("bea") >= 0 || vendor.indexOf("oracle") >= 0) {