classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Problems with File.java when running Jigsaw with ORP plus Cla sspath


From: Wu, Gansha
Subject: RE: Problems with File.java when running Jigsaw with ORP plus Cla sspath
Date: Tue, 31 Jul 2001 08:51:19 +0800

Our current patch is somewhat ad hoc like this:
    if (path.startsWith(separator))
         return(path);
+  if (pathSeparatorChar != ':' &&
+       path.charAt(1) == ':')
+       return path;

    return(System.getProperty("user.dir") + separator + path);

As I said, a better way to achieve this is to delegate these platform-dependent 
judgements to a standalone platform-wise class, because there're other places 
also have the same problem. I haven't found such infrastructure in Classpath 
yet. It seems to need considerable resources to do the refactoring stuff. 

Regards...
Gansha

-----Original Message-----
From: Tom Tromey [mailto:address@hidden
Sent: 2001?7?31? 1:14
To: Wu, Gansha
Cc: address@hidden
Subject: Re: Problems with File.java when running Jigsaw with ORP plus Classpa 
th

Gansha> Problems in java/io/File.java:
Gansha> it's better to delegate these platform-dependent judgements to
Gansha> a standalone platform-wise class.

>I agree.  Do you have a patch?
>Is there even infrastructure for this in Classpath?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]