--- old/src/solaris/native/java/io/FileSystem_md.c 2012-06-25 21:56:11.000000000 -0700 +++ new/src/solaris/native/java/io/FileSystem_md.c 2012-06-25 21:56:11.000000000 -0700 @@ -31,5 +31,9 @@ JNIEXPORT jobject JNICALL Java_java_io_FileSystem_getFileSystem(JNIEnv *env, jclass ignored) { +#ifdef MACOSX + return JNU_NewObjectByName(env, "java/io/MacOSXFileSystem", "()V"); +#else return JNU_NewObjectByName(env, "java/io/UnixFileSystem", "()V"); +#endif }