commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ima...@apache.org
Subject svn commit: r344463 - in /jakarta/commons/proper/vfs/trunk: ./ src/java/org/apache/commons/vfs/provider/ src/test-data/
Date Tue, 15 Nov 2005 23:07:03 GMT
Author: imario
Date: Tue Nov 15 15:06:44 2005
New Revision: 344463

URL: http://svn.apache.org/viewcvs?rev=344463&view=rev
Log:
It turns out sun change something in its security and thus will fail when requesting an priviledged
action with an NPE if the host in an url instance is "null".
It looks like this happend after jdk 1.3.1_07.
I wont say its fixed now (sun didnt state the host cant be null and it worked with 1.4), but
its a workaround which works with any jdk now.

Modified:
    jakarta/commons/proper/vfs/trunk/RELEASE_NOTES.txt
    jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/AbstractFileObject.java
    jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/DefaultURLStreamHandler.java
    jakarta/commons/proper/vfs/trunk/src/test-data/nested.jar
    jakarta/commons/proper/vfs/trunk/src/test-data/nested.tar
    jakarta/commons/proper/vfs/trunk/src/test-data/nested.tbz2
    jakarta/commons/proper/vfs/trunk/src/test-data/nested.tgz
    jakarta/commons/proper/vfs/trunk/src/test-data/nested.zip
    jakarta/commons/proper/vfs/trunk/src/test-data/test.jar
    jakarta/commons/proper/vfs/trunk/src/test-data/test.tar
    jakarta/commons/proper/vfs/trunk/src/test-data/test.tbz2
    jakarta/commons/proper/vfs/trunk/src/test-data/test.tgz
    jakarta/commons/proper/vfs/trunk/src/test-data/test.zip

Modified: jakarta/commons/proper/vfs/trunk/RELEASE_NOTES.txt
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/vfs/trunk/RELEASE_NOTES.txt?rev=344463&r1=344462&r2=344463&view=diff
==============================================================================
--- jakarta/commons/proper/vfs/trunk/RELEASE_NOTES.txt (original)
+++ jakarta/commons/proper/vfs/trunk/RELEASE_NOTES.txt Tue Nov 15 15:06:44 2005
@@ -1,116 +1,6 @@
-2005-11-08 comons-vfs 1.0 RC6
-
-uri praser:
-We have had lots of duplicate calls to fixSeparator, so normalizePath now no longer calls
it.
-Now normalizePath assumes this has been called.
-This only bothers you if you use normalizePath which should never be the case and is not
-needed to work with VFS.
-(Thanks to Filip - filipdef -at - cirquedigital.com)
-
-sftp:
-new configuration parameter SftpFileSystemConfigBuilder.timeout
-upgrade to jsch-0.1.23
-using listChildrenResolved for performance
-activated RandomRead
-
-ftp:
-better error message if it isnt possible to aquire a input or output stream
-removed setLastModifiedTime, its not supported by FTP
-
-core:
-removed check for isWriteable in deleteSelf as its possible to delete a read-only file
-if you have write-execute access to the directory
-fixed a dead-lock problem in multithreaded environments. (Thanks to Faron Dutton PR: 37374)
-
-
-2005-10-14 commons-vfs 1.0 RC5
-
-zip, jar, tar:
-close archive if there is no open stream. This avoids locking on the archive.
-
-sftp:
-stip off link file names, though still no link-support for sftp.
-added filesystem option: setUserDirIsRoot
-
-
-2005-09-26  commons-vfs 1.0 RC4
-
-bzip:
-changed documentation to use latest commons-compress.
-
-
-filesystems:
-fix: avoid creation of filesystem if they use the same options
-
-
-threading:
-avoid gc when referencing only inputStream/outputStream of a fileObject
-
-
-filenames:
-add a type (file/folder) to filename.
-This is needed to allow URI style filename resolving
-e.g. base "file:///path/to/file" with relative name "any/file" results in "file:///path/to/any/file"
instead
-of "file:///path/to/file/any/file"
-This is experimental code. Switch on with "VFS.setUriStyle(true);" before ANY other VFS operation.
-
-
-ant tasks:
-added antlib.xml - (Jacob Kjome)
-
-
-zip, jar, ....:
-allow filenames without trailing "!"
-allow createFilesystem with .gz files
-better handling of file/folder flag with compressed files
-
-
-ftp:
-check IOException instead of FTPConnectionClosedException.
-This should make ftp retry more robust even if for some case the state of the
-socket isnt correctly reported as closed.
-
-ignore nonparseable ftp directory entries. It will be logged using the debug log-level
-with class org.apache.commons.vfs.provider.ftp.FtpFileObject.
-(e.g. empty lines in ftp directory listing)
-
-avoid server-roundtrip ("LIST") if file was deleted. if you add a child this is still needed.
-
-allow configuration of dataTimeout
-
-
-2005-08-13  commons-vfs 1.0 RC3
-
-ant tasks:
-upgrade to ant 1.6.2 to support nested tasks
-
-documentation:
-made httpclient non-optional to be able to access its URIUtils class
-
-ftp:
-configuration to use user-home as root
-
-file:
-build windows filename according to the documentation. e.g. file:///c:/dir, file:////unchost/uncshare
-
-smb:
-now uses NtlmPasswordAuthentication for credentials passing
-fix for special characters in username/password
-allow domains with DOMAIN\USERNAME syntax
-
-
-2005-Jul-5  commons-vfs 1.0 RC2
+2005-11-xx comons-vfs 1.0
+this is the first release
 
 Notice: Some tests may fail unless you've followed the necessary setup
   as described here: http://jakarta.apache.org/commons/vfs/testserver.html
-  This is ok; the jar will still be fine.
-
-Fixed multi-threading problems with ftp and webdav scheme
-
-Some documentation issues
-
-other minor fixes
-
-
-2005-Jun-29 commons-vfs 1.0 RC1
-Started the release cylce
\ No newline at end of file
+  This is ok; the jar will still be fine.
\ No newline at end of file

Modified: jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/AbstractFileObject.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/AbstractFileObject.java?rev=344463&r1=344462&r2=344463&view=diff
==============================================================================
--- jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/AbstractFileObject.java
(original)
+++ jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/AbstractFileObject.java
Tue Nov 15 15:06:44 2005
@@ -373,7 +373,7 @@
             {
                 public Object run() throws MalformedURLException
                 {
-                    return new URL(UriParser.extractScheme(name.getURI(), buf), null, -1,
+                    return new URL(UriParser.extractScheme(name.getURI(), buf), "", -1,
                         buf.toString(), new DefaultURLStreamHandler(fs.getContext(), fs.getFileSystemOptions()));
                 }
             });

Modified: jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/DefaultURLStreamHandler.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/DefaultURLStreamHandler.java?rev=344463&r1=344462&r2=344463&view=diff
==============================================================================
--- jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/DefaultURLStreamHandler.java
(original)
+++ jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/DefaultURLStreamHandler.java
Tue Nov 15 15:06:44 2005
@@ -86,7 +86,7 @@
             final StringBuffer filePart = new StringBuffer();
             final String protocolPart = UriParser.extractScheme(url, filePart);
 
-            setURL(u, protocolPart, null, -1, null, null, filePart.toString(), null, null);
+            setURL(u, protocolPart, "", -1, null, null, filePart.toString(), null, null);
         }
         catch (FileSystemException fse)
         {

Modified: jakarta/commons/proper/vfs/trunk/src/test-data/nested.jar
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/vfs/trunk/src/test-data/nested.jar?rev=344463&r1=344462&r2=344463&view=diff
==============================================================================
Binary files - no diff available.

Modified: jakarta/commons/proper/vfs/trunk/src/test-data/nested.tar
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/vfs/trunk/src/test-data/nested.tar?rev=344463&r1=344462&r2=344463&view=diff
==============================================================================
Binary files - no diff available.

Modified: jakarta/commons/proper/vfs/trunk/src/test-data/nested.tbz2
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/vfs/trunk/src/test-data/nested.tbz2?rev=344463&r1=344462&r2=344463&view=diff
==============================================================================
Binary files - no diff available.

Modified: jakarta/commons/proper/vfs/trunk/src/test-data/nested.tgz
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/vfs/trunk/src/test-data/nested.tgz?rev=344463&r1=344462&r2=344463&view=diff
==============================================================================
Binary files - no diff available.

Modified: jakarta/commons/proper/vfs/trunk/src/test-data/nested.zip
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/vfs/trunk/src/test-data/nested.zip?rev=344463&r1=344462&r2=344463&view=diff
==============================================================================
Binary files - no diff available.

Modified: jakarta/commons/proper/vfs/trunk/src/test-data/test.jar
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/vfs/trunk/src/test-data/test.jar?rev=344463&r1=344462&r2=344463&view=diff
==============================================================================
Binary files - no diff available.

Modified: jakarta/commons/proper/vfs/trunk/src/test-data/test.tar
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/vfs/trunk/src/test-data/test.tar?rev=344463&r1=344462&r2=344463&view=diff
==============================================================================
Binary files - no diff available.

Modified: jakarta/commons/proper/vfs/trunk/src/test-data/test.tbz2
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/vfs/trunk/src/test-data/test.tbz2?rev=344463&r1=344462&r2=344463&view=diff
==============================================================================
Binary files - no diff available.

Modified: jakarta/commons/proper/vfs/trunk/src/test-data/test.tgz
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/vfs/trunk/src/test-data/test.tgz?rev=344463&r1=344462&r2=344463&view=diff
==============================================================================
Binary files - no diff available.

Modified: jakarta/commons/proper/vfs/trunk/src/test-data/test.zip
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/vfs/trunk/src/test-data/test.zip?rev=344463&r1=344462&r2=344463&view=diff
==============================================================================
Binary files - no diff available.



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message