Hi, I had the following in my tree for a long time. I cannot remember whether it actually fixed something for me, but it looks like a good idea.
2004-01-08 Mark Wielaard <[EMAIL PROTECTED]> * kaffe/kaffeh/support.c (kaffeh_findClass): Close jar file and continue when getDataJarFile(0 returns NULL. Cheers, Mark
Index: kaffe/kaffeh/support.c =================================================================== RCS file: /cvs/kaffe/kaffe/kaffe/kaffeh/support.c,v retrieving revision 1.34 diff -u -r1.34 support.c --- kaffe/kaffeh/support.c 3 Nov 2003 05:57:42 -0000 1.34 +++ kaffe/kaffeh/support.c 8 Jan 2004 11:04:58 -0000 @@ -911,6 +911,10 @@ } buf = getDataJarFile(jfile, jentry); + if (buf == NULL) { + closeJarFile(jfile); + continue; + } classFileInit(&hand, buf, jentry->uncompressedSize, CP_ZIPFILE);
signature.asc
Description: This is a digitally signed message part