Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 May 1998 14:27:36 -0700
From:      Jim Heintz <jheintz@wayoutware.com>
To:        freebsd-java@FreeBSD.ORG
Subject:   Directory Deletion is Broken.
Message-ID:  <3.0.5.32.19980501142736.00b64e00@santaclara01.pop.internex.net>

next in thread | raw e-mail | index | archive | help
Hello FreeBSD-java people,

I've noticed that the following code does not perform as expected
under the FreeBSD implementation of java...

It creates a directory and then immediately deletes it.  This code
works fine under Solaris, but under FreeBSD the directory is created,
but not deleted.

import java.io.*;

public class TestDeleteDir {
   public static void main(String Argv[])
   {
	File test = new File("foo");
	test.mkdir();
	test.delete();
   }
}

I'm using jdk1.1.5.V98-2-25.tar.gz.

Thanks,

Jim Heintz
Owner/Developer
Way-Out Ware
687 Islay St. #5
San Luis Obispo, Ca. 93401
Phone: (805) 542-9237
FAX:   (805) 546-8039
jheintz@wayoutware.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.5.32.19980501142736.00b64e00>