From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Received: (qmail 14616 invoked by uid 71); 9 Jan 2003 19:46:01 -0000 Resent-Date: 9 Jan 2003 19:46:01 -0000 Resent-Message-ID: <20030109194601.14615.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org, java-prs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, erik.poupaert@chello.be Received: (qmail 10681 invoked by uid 61); 9 Jan 2003 19:37:00 -0000 Message-Id: <20030109193700.10680.qmail@sources.redhat.com> Date: Thu, 09 Jan 2003 19:46:00 -0000 From: erik.poupaert@chello.be Reply-To: erik.poupaert@chello.be To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: java/9253: on win32, java.io.File.listFiles("C:\\") returns pwd instead of the root content of C: X-SW-Source: 2003-01/txt/msg00616.txt.bz2 List-Id: >Number: 9253 >Category: java >Synopsis: on win32, java.io.File.listFiles("C:\\") returns pwd instead of the root content of C: >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Thu Jan 09 11:46:00 PST 2003 >Closed-Date: >Last-Modified: >Originator: erik.poupaert@chello.be >Release: unknown-1.0 >Organization: >Environment: win32 >Description: import java.io.File; public class TestFileList { public static void main(String args[]) { File file=new File("C:\\"); File[] list = file.listFiles(); //displays the list of pwd and not of C:\\ for(int i=0;iHow-To-Repeat: See example source >Fix: >Release-Note: >Audit-Trail: >Unformatted: