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=41285>.
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=41285





------- Additional Comments From [EMAIL PROTECTED]  2007-01-05 17:14 -------
(In reply to comment #4)
> The reason for this (and a number of other
> bugs with symbolic links) is that java
> does not understand symbolic links (or rather
> the symbolic link information is not given
> to the java user).
> See: 
> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4956115
> (File.exists() reports false for symbolic links to nonexistent files)
> state:         Closed, not a bug
> And the evalulation:
> """This is not a bug.  In the absence of an API which exposes symbolic links 
> in
> all their glory we don't have any choice but to treat a dangling symbolic link
> as a nonexistent file."""
> 
> There is a FRE http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4313887
> (which closes 35 other bugs)
> which asks talks about an extended api with support
> for symbolic links - currently slated for java 1.7.

Yes, I knew about the java limitation.  Surprising, isn't it, coming from Sun. 
Anyway,  I suspect that anyone who tries to use symlink delete or delete file
would expect that the symlink in question would be gone after running of the
task, regardless of whether the link or its target exists already, and
regardless of whether java thinks it exists.  Certainly that's what I would
expect.  
Looking at other bug reports about symlinks, I see that much trouble has been
taken to make sure that if you delete a "good" symlink, the target is not
deleted, only the link itself.  So I think it should be possible to fix this
without waiting for the new java RFE to be delivered.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to