diff --git a/bindings/java/src/org/sleuthkit/datamodel/AbstractFile.java b/bindings/java/src/org/sleuthkit/datamodel/AbstractFile.java index 5043c0a64b56afda90c93592f67b0ef666889dc7..8be75b050877cffe2d7ad277b9dcfd27334a60e3 100644 --- a/bindings/java/src/org/sleuthkit/datamodel/AbstractFile.java +++ b/bindings/java/src/org/sleuthkit/datamodel/AbstractFile.java @@ -903,6 +903,7 @@ void setLocalFilePath(String localPath) { // It should always be the case that absolute paths start with slashes or a windows drive letter // and relative paths do not, but some older versions of modules created derived file paths // starting with slashes. So we first check if this file is a DerivedFile before looking at the path. + this.localPath = localPath; if (this instanceof DerivedFile) { // DerivedFiles always have relative paths this.localAbsPath = getSleuthkitCase().getDbDirPath() + java.io.File.separator + localPath;