150009 - release65 stopper

Jiri Skrivanek <[email protected]>
Newsgroups gmane.comp.java.netbeans.reviewers
Message-ID <[email protected]>
Please review fix of issue 150009. It should be fixed in 6.5:

http://www.netbeans.org/issues/show_bug.cgi?id=150009

     *  Description of the bug (including IZ #)

If java.io.File.listFiles() returns null, filesystems mistakenly fire 
FILE_DELETED events and potentional listeners (like versioning support) 
delete affected files. null from listFiles() can be returned if I/O 
operation fails (e.g. 'too may files open' error).

     * Impact assessment i.e. why it is a showstopper?

It is data loss. User files can be deleted.

     * Risk assessment i.e. why is it safe?

The patch only handles state when 'listFiles() == null' which should not 
happen normally. Other functionallity is intact.

     * Confirmation of peer code review and QE verification of fix

Tomas Hurka created the patch and I reviewed it.

     * Changeset info (for reviewing diffs)

http://hg.netbeans.org/main/rev/f5128636599a

Jirka
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.