classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

patch ZipFile


From: David Bélanger
Subject: patch ZipFile
Date: Mon, 24 Nov 2003 20:04:50 -0500
User-agent: Mutt/1.3.28i

Classpath developers,

The SableVM developers are moving to Classpath 0.06.  I will start
sending bug fixes found in Classpath.

The first one is in ZipFile.  See patch included.
The current Classpath implementation removes the path component
from the name when the JarFile is created with new ZipFile(new
File(name)).

Sun's JDK does not remove the path, getName() always return the name
specified in the constructor of ZipFile or File.

(Without this fix, it is impossible to load jar files with the
SystemClassLoader that are not located in the current directory).



David


---

David Bélanger
Graduate Student
School of Computer Science
McGill University
Office: MC226

Web page:   http://www.cs.mcgill.ca/~dbelan2/
Public key: http://www.cs.mcgill.ca/~dbelan2/public_key.txt

Attachment: ZipFile.java.diff
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]