On 5/1/10 10:14 AM, Carlos Ungil wrote: […]
In fact there are still some problems with the change I proposed: if there are multiple devices involved, paths are not resolved properly. For example, if I remember correcly when the current directory was D: an ASDF system somewhere in D: couldn't be loaded because the path "/Documents And Settings/....../.cache" was in C: and not in D: (but device info was not included in the translated pathname). I'll try to look at it, but a first glance at Pathname.java suggests that it won't be easy to fix...
Could you briefly describe what sort of behavior you see as necessary to introduce to Pathname.java? The current Pathname implementation was designed to incorporate both Windows drive letters as DEVICE and the location of the JAR as a list of PATHNAMEs in the DEVICE, so I think we just need to get the translation right in ASDF2 rather than re-work Pathname.java. Then again, I might have missed something, so would be interested in understanding a bit more about your analysis.