[Bug libgcj/30454] [4.3 Regression] classpath/gnu/javax/crypto/jce/GnuCrypto.java:431: error: cannot find file for class gnu.javax.crypto.jce.mac.HMacSHA512Spi
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Jan 23 08:23:00 GMT 2007
------- Comment #13 from pinskia at gcc dot gnu dot org 2007-01-23 08:23 -------
The temp zip file was being stayed opened even though it was empty. This
caused us to open too many files.
Anyways, I have a fix now:
Index: ../../gcc/java/jcf-io.c
===================================================================
--- ../../gcc/java/jcf-io.c (revision 121050)
+++ ../../gcc/java/jcf-io.c (working copy)
@@ -134,10 +135,10 @@
{
jcf_dependency_add_file (zipfile, is_system);
if (read (fd, magic, 4) != 4 || GET_u4 (magic) != (JCF_u4)ZIPMAGIC)
- return NULL;
+ { close (fd); return NULL; }
lseek (fd, 0L, SEEK_SET);
if (read_zip_archive (zipf) != 0)
- return NULL;
+ { close (fd); return NULL; }
}
SeenZipFiles = zipf;
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |pinskia at gcc dot gnu dot
|dot org |org
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2007-01-23 08:23:48
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30454
More information about the Java-prs
mailing list