[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug classpath/28998] RSSOwl fails to start
From: |
psj at harker dot dyndns dot org |
Subject: |
[Bug classpath/28998] RSSOwl fails to start |
Date: |
21 Sep 2006 20:47:47 -0000 |
------- Comment #2 from psj at harker dot dyndns dot org 2006-09-21 20:47
-------
D'oh! Forget all notes on ServerSocket - the problem is in File.listfiles.
Specifically called from (taken from RSSOwl CVS web):
163 File tempDir = new File(GlobalSettings.WORKING_DIR +
GlobalSettings.PATH_SEPARATOR + "tmp");
164 if (!tempDir.exists()) {
165 tempDir.mkdir();
166 }
167
168 /** Clean Up the Temporary Directory */
169 else {
170 File files[] = tempDir.listFiles();
171 for (int a = 0; a < files.length; a++)
172 files[a].delete();
173 }
If tempDir does not exist, RSSOwl starts. If tempDir exists but is empty (only
case tried so far), File.listFiles at line 170 never seems to return.
Will distill this down to a test case.
--
psj at harker dot dyndns dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|RSSOwl fails to start - hang|RSSOwl fails to start
|in ServerSocket accept? |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28998