public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: java-prs@gcc.gnu.org
Subject: [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
Date: Tue, 23 Jan 2007 08:23:00 -0000	[thread overview]
Message-ID: <20070123082349.9970.qmail@sourceware.org> (raw)
In-Reply-To: <bug-30454-276@http.gcc.gnu.org/bugzilla/>



------- 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


  parent reply	other threads:[~2007-01-23  8:23 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-13  0:10 [Bug libgcj/30454] New: " danglin at gcc dot gnu dot org
2007-01-14  3:44 ` [Bug libgcj/30454] [4.3 Regression] " pinskia at gcc dot gnu dot org
2007-01-15 17:55 ` tromey at gcc dot gnu dot org
2007-01-15 19:54 ` dave at hiauly1 dot hia dot nrc dot ca
2007-01-16 23:04 ` dave at hiauly1 dot hia dot nrc dot ca
2007-01-17 13:56 ` tromey at gcc dot gnu dot org
2007-01-19  0:08 ` dave at hiauly1 dot hia dot nrc dot ca
2007-01-22 17:02 ` pinskia at gcc dot gnu dot org
2007-01-22 23:53 ` dave at hiauly1 dot hia dot nrc dot ca
2007-01-23  6:05 ` pinskia at gcc dot gnu dot org
2007-01-23  8:09 ` pinskia at gcc dot gnu dot org
2007-01-23  8:23 ` pinskia at gcc dot gnu dot org [this message]
2007-01-23  8:28 ` [Bug java/30454] " pinskia at gcc dot gnu dot org
2007-01-23  8:44 ` [Bug java/30454] [4.3 Regression] empty "zip" file in class path can cause leakage of file streams andreast at gcc dot gnu dot org
2007-01-24  5:46 ` pinskia at gcc dot gnu dot org
2007-01-24  5:46 ` pinskia at gcc dot gnu dot org
2007-01-24 16:33 ` tromey at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070123082349.9970.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=java-prs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).