W3C home > Mailing lists > Public > www-jigsaw@w3.org > July to August 1996

Re: Jigsaw on Macintosh

From: Anselm Baird-Smith <abaird@w3.org>
Date: Tue, 9 Jul 1996 12:53:57 +0500
Message-Id: <9607091653.AA10972@www18.w3.org>
To: jeff@macalot.com (Jeff Dripps)
Cc: www-jigsaw@w3.org
Jeff Dripps writes:
 > [about renameTo]
 > I added a couple of newbie error checks to your suggested test code
 > (below), changed 'from.rename' to 'from.renameTo', (which is what I think
 > you meant) and ran it. Assuming that the source (from) file should be
 > present and the destination (to) file should not be, the output each time
 > was: 'rename "one" to "two" failed !' and I was never able to rename a
 > file. I tried specifying full paths, file name only, all to no avail.
 > Does this mean that the File rename method in the Java runtime on mac is
 > broken? Geez I hope not!
 > If so, could you provide a sample of just how this could be overcome? i.e.,
 > would I need to extend the File class in order to add a new ReNameTo
 > method, then recompile Jigsaw using the new renamew method?? Any help
 > appreciated.

Hum, that looks like a definitve bug to me, which is worth submitting
to Sun ;-) I don't know how you can overcome these, you can grep
renameTo in jigsaw sources, and try to get rid of them (most of the
renameTo are done to avoid some unlikely to happen in small env

Received on Tuesday, 9 July 1996 12:53:53 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:25:29 UTC