This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug java/21221] New: File.isHidden() method always returns 'true' in windows.
- From: "mnefedov at rogers dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Apr 2005 17:34:24 -0000
- Subject: [Bug java/21221] New: File.isHidden() method always returns 'true' in windows.
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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