maddisondavid / gwt-unite

Automatically exported from code.google.com/p/gwt-unite
0 stars 0 forks source link

File.isFile always returns true #2

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
opera.io.File::isFile() always returns true regardless of whether it's a 
file or a directory.

Original issue reported on code.google.com by maddisondavid@gmail.com on 28 Sep 2009 at 8:43

GoogleCodeExporter commented 8 years ago
Logged with Opera, reference DSK-266952

Original comment by maddisondavid@gmail.com on 28 Sep 2009 at 8:52

GoogleCodeExporter commented 8 years ago
For now the following workaround has been put in place :

public native boolean isFile() /*-{
    return !this.isDirectory;
}-*/;

This gets the tests to pass, but it would be nice to connect to use the correct 
method

Original comment by maddisondavid@gmail.com on 28 Sep 2009 at 8:53