This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug java/21221] New: File.isHidden() method always returns 'true' in windows.


File.isHidden() method always returns 'true' in windows.
Here is a simple code:
----
import java.io.*;

public class canRead {
	public static void main( String [] args ) {
		File file = new File( args[0] );
		System.out.println( args[0] + ":" 
			+ " canRead() = " + file.canRead()
			+ " isHidden() = " + file.isHidden()
			 );
	}
}

---
build and run in windows, run:  canRead canRead.exe
isHidden() returns 'true'.

-- 
           Summary: File.isHidden() method always returns 'true' in windows.
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: mnefedov at rogers dot com
                CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
                    dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21221


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]