[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug classpath/25760] File("mydir").list() returns null instead of File[
From: |
tromey at gcc dot gnu dot org |
Subject: |
[Bug classpath/25760] File("mydir").list() returns null instead of File[] |
Date: |
20 Apr 2006 15:51:06 -0000 |
------- Comment #5 from tromey at gcc dot gnu dot org 2006-04-20 15:51 -------
Throwing an exception would be nice, but is AFAICS is prohibited by
the spec. The spec says that this method returns null if the File
is not a directory or if an I/O error occurs... a mistake, but one
I think have have to live with :-(
I do agree that the VMs should implement class GC. That they do
not is a bug. However, even with class GC the ant approach is
not guaranteed to work -- good thing your cleanup patch went in :-)
--
tromey at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2006-04-20 15:51:04
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25760
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug classpath/25760] File("mydir").list() returns null instead of File[],
tromey at gcc dot gnu dot org <=