New JAVA_BIO support