Opened 8 years ago

Closed 8 years ago

#115 closed defect (invalid)


Reported by: ebm1991 Owned by:
Priority: Feedback Pending Milestone:
Component: general Version: 1.6.0-b22 WSE
Severity: medium Keywords:


the methods to obtain disk space not all working correctly, no return is


I am writing a file manager and testing in Windows and eCS.
will continue testing.

Change History (2)

comment:1 Changed 8 years ago by dmik

  • Priority changed from major to Feedback Pending
  • Severity changed from highest to medium

Thank you for the report. I assume that you mean the methods of the class. And they work as designed (tested with the WSE build). This sample program:


class test_free_space extends Object

private static void test(final String drive)
        File f = new File(drive);
        System.out.println("Free space on " + f.getCanonicalPath() + "  is " + f.getFreeSpace());
        System.out.println("Total space on " + f.getCanonicalPath() + " is " + f.getTotalSpace());
    catch (Exception e)

public static void main( String args[] )

gives me the correct amounts of free and total space for the tested drives.

Please check everything again and clarify your bug report.

comment:2 Changed 8 years ago by diver

  • Resolution set to invalid
  • Status changed from new to closed

as our test showed it works and no more feedback i assume it's fixed. if you still have problems use latest odin, retry and open a new ticket if it's still not working. but in the new ticket also show the code you use.

Note: See TracTickets for help on using tickets.