test the java native method ...