|
From: | Guilhem Lavaux |
Subject: | [commit-cp] [bug #12623] Invalid handling of cache in JarURLConnection |
Date: | Sat, 9 Apr 2005 17:48:51 +0000 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2 |
URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=12623> Summary: Invalid handling of cache in JarURLConnection Project: classpath Submitted by: glavaux Submitted on: Sat 04/09/2005 at 17:48 Category: classpath Severity: 3 - Normal Status: None Privacy: Public Assigned to: None Open/Closed: Open Platform Version: None _______________________________________________________ Details: It has been reported that we get that exception on kaffe when executing tomcat5 in some circumstances: java.lang.IllegalStateException: Zip file already closed: /d/local/jakarta-tomcat-5.0.28/common/lib/commons-pool-1.2.jar Rei Odaira has reported the reason of the bug in the following mail: http://www.kaffe.org/pipermail/kaffe/2005-April/102100.html Quickly said, JarURLConnection does not currently check the state of setUseCache and so close wrongly the jar. The attached patch should solve the problem. _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Sat 04/09/2005 at 17:48 Name: jar_patch Size: 1.43KB By: glavaux Patch to fix JarURLConnection <http://savannah.gnu.org/bugs/download.php?item_id=12623&item_file_id=2395> _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=12623> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |