[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-classpath] [bug #13556] swing: JFileChooser("/thisdoesnotexist") th

From: Beat Wolf
Subject: [bug-classpath] [bug #13556] swing: JFileChooser("/thisdoesnotexist") throws NullPointerException
Date: Wed, 6 Jul 2005 13:20:05 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4

Follow-up Comment #1, bug #13556 (project classpath):

This is the bugfix:

change in javax.swing.filechooser.FileSystemView
the following method:

public File createFileObject(String path)
     return new File(path);

to this one:

public File createFileObject(String path)
        File temp = new File(path);
                return temp;
    return null;

The patch is under 10 lines, so you can take it. And its trivial


Reply to this item at:


  Nachricht geschickt von/durch Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]