public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* java/9253: on win32, java.io.File.listFiles("C:\\") returns pwd instead of the root content of C:
@ 2003-01-09 19:46 erik.poupaert
  0 siblings, 0 replies; 2+ messages in thread
From: erik.poupaert @ 2003-01-09 19:46 UTC (permalink / raw)
  To: gcc-gnats


>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;i<list.length;i++)
		{
			System.out.println(list[i].getName());
		}
	}
}
>How-To-Repeat:
See example source
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: java/9253: on win32, java.io.File.listFiles("C:\\") returns pwd instead of the root content of C:
@ 2003-01-24 21:53 tromey
  0 siblings, 0 replies; 2+ messages in thread
From: tromey @ 2003-01-24 21:53 UTC (permalink / raw)
  To: erik.poupaert, gcc-bugs, gcc-prs, java-prs, nobody, tromey

Synopsis: on win32, java.io.File.listFiles("C:\\") returns pwd instead of the root content of C:

Responsible-Changed-From-To: unassigned->tromey
Responsible-Changed-By: tromey
Responsible-Changed-When: Fri Jan 24 21:53:16 2003
Responsible-Changed-Why:
    I'm handling the administrivia
State-Changed-From-To: open->closed
State-Changed-By: tromey
State-Changed-When: Fri Jan 24 21:53:16 2003
State-Changed-Why:
    I'm checking in the patch.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9253


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-01-24 21:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-09 19:46 java/9253: on win32, java.io.File.listFiles("C:\\") returns pwd instead of the root content of C: erik.poupaert
2003-01-24 21:53 tromey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).