Search:

Type: Posts; User: KevinWorkman

Search: Search took 0.08 seconds.

  1. Replies
    10
    Views
    1,314

    Re: Why is isDirectory true for File("c:")?

    And I'm on eclipse Juno SR1

    This doesn't guarantee this is what eclipse is using, but in my case, they are the same:

    C:\Users\kworkman>java -version
    java version "1.7.0_51"
    Java(TM) SE...
  2. Replies
    10
    Views
    1,314

    Re: Why is isDirectory true for File("c:")?

    Stranger still, that's exactly what I'm running, yet we get different output?

    (I'm using Java 7 update 51)
  3. Replies
    10
    Views
    1,314

    Re: Why is isDirectory true for File("c:")?

    This is an interesting question. I'll try to expand on your question (questions should always come with an SSCCE whenever possible)...

    Take this code for example:


    import java.io.File;
    ...
Results 1 to 3 of 3