lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 28074] - [PATCH] npe if java.io.tmpdir does not exist
Date Tue, 18 May 2004 14:27:51 GMT
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 Eric.Isakson@sas.com  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: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org


Mime
View raw message