Mercurial > hg > graal-compiler
diff graal/com.oracle.truffle.api/src/com/oracle/truffle/api/source/Source.java @ 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 | 787b5aa53401 |
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; }