--- Yap-5.1.2.orig/LGPL/JPL/src/jpl.c 2006-09-01 15:01:58.000000000 +1200 +++ Yap-5.1.2/LGPL/JPL/src/jpl.c 2007-11-20 20:16:37.000000000 +1300 @@ -1827,7 +1827,7 @@ //=== JVM initialisation, startup etc. ============================================================= - +/* // this isn't much use; it can't discover JDK 1.2 support... static int jni_supported_jvm_version( @@ -1848,7 +1848,7 @@ && minor == mlo ; } - +*/ static int jni_get_created_jvm_count(void) @@ -1930,7 +1930,7 @@ ); } - +/* static foreign_t jni_supported_jvm_version_plc( // not as useful as I'd hoped... term_t t1, @@ -1945,7 +1945,7 @@ && jni_supported_jvm_version(major,minor) ; } - +*/ static foreign_t jni_get_created_jvm_count_plc( @@ -3908,7 +3908,7 @@ static PL_extension predspecs[] = { { "jni_create_jvm", 2, jni_create_jvm_plc, 0 }, - { "jni_supported_jvm_version", 2, jni_supported_jvm_version_plc, 0 }, +/* { "jni_supported_jvm_version", 2, jni_supported_jvm_version_plc, 0 },*/ { "jni_get_created_jvm_count", 1, jni_get_created_jvm_count_plc, 0 }, { "jni_ensure_jvm", 0, jni_ensure_jvm_plc, 0 }, { "jni_tag_to_iref", 2, jni_tag_to_iref_plc, 0 },