[Swift-commit] r5099 - branches/release-0.93/src/org/griphyn/vdl/karajan/lib

hategan at ci.uchicago.edu hategan at ci.uchicago.edu
Fri Sep 9 00:24:26 CDT 2011


Author: hategan
Date: 2011-09-09 00:24:26 -0500 (Fri, 09 Sep 2011)
New Revision: 5099

Modified:
   branches/release-0.93/src/org/griphyn/vdl/karajan/lib/AppStageouts.java
Log:
Path.parse(path.toString()) is not guaranteed to work (and in fact it doesn't work)

Modified: branches/release-0.93/src/org/griphyn/vdl/karajan/lib/AppStageouts.java
===================================================================
--- branches/release-0.93/src/org/griphyn/vdl/karajan/lib/AppStageouts.java	2011-09-09 04:48:09 UTC (rev 5098)
+++ branches/release-0.93/src/org/griphyn/vdl/karajan/lib/AppStageouts.java	2011-09-09 05:24:26 UTC (rev 5099)
@@ -35,7 +35,7 @@
             List files = TypeUtil.toList(FILES.getValue(stack));
             for (Object f : files) { 
                 List pv = TypeUtil.toList(f);
-                Path p = Path.parse(TypeUtil.toString(pv.get(0)));
+                Path p = (Path) pv.get(0);
                 DSHandle handle = (DSHandle) pv.get(1);
                 ArgUtil.getNamedArguments(stack).add("var", handle.getField(p));
                 AbsFile file = new AbsFile(VDLFunction.filename(stack)[0]);




More information about the Swift-commit mailing list