DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=28074>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=28074 [PATCH] npe if java.io.tmpdir does not exist ------- Additional Comments From [EMAIL PROTECTED] 2004-05-18 14:27 ------- Shouldn't we be honoring java.io.tmpdir even if it happens to be non-absolute? Perhaps this should be fixed by removing the "." from the LOCK_DIR initialization then if LOCK_DIR is null, set lockDir in the constructor to directory and only do the lockDir.mkdirs during makeLock in the Lock.obtain method? I can supply a patch if you want one. Also, in your patch for this, you changed a message in FSDirectory.create to include the word "lock" but it should just be "Cannot create directory" in that case since we aren't creating the lock directory there, we are creating the index directory. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
