changeset 18980:ae0eb836e6f4

store absolute file in FileSource
author Lukas Stadler <lukas.stadler@oracle.com>
date Tue, 27 Jan 2015 23:14:40 +0100
parents bdb24e259c11
children 48b79b8e18f1
files graal/com.oracle.truffle.api/src/com/oracle/truffle/api/source/Source.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/source/Source.java	Tue Jan 27 23:12:58 2015 +0100
+++ b/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/source/Source.java	Tue Jan 27 23:14:40 2015 +0100
@@ -542,7 +542,7 @@
         private long timeStamp;      // timestamp of the cache in the file system
 
         public FileSource(File file, String name, String path) {
-            this.file = file;
+            this.file = file.getAbsoluteFile();
             this.name = name;
             this.path = path;
         }