This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-vfs.git
commit 12a218242f51b6cf531eb5cc96ba43d52277ed72 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Thu Jul 15 16:24:46 2021 -0400 Synchronized methods that read or write the thread-unsafe instance variable of type SftpATTRS. --- .../java/org/apache/commons/vfs2/provider/sftp/SftpFileObject.java | 2 -- src/changes/changes.xml | 3 +++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/sftp/SftpFileObject.java b/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/sftp/SftpFileObject.java index 7cec9ad..45fe984 100644 --- a/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/sftp/SftpFileObject.java +++ b/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/sftp/SftpFileObject.java @@ -99,8 +99,6 @@ public class SftpFileObject extends AbstractFileObject<SftpFileSystem> { private final String relPath; - private boolean inRefresh; - protected SftpFileObject(final AbstractFileName name, final SftpFileSystem fileSystem) throws FileSystemException { super(name, fileSystem); relPath = UriParser.decode(fileSystem.getRootName().getRelativeName(name)); diff --git a/src/changes/changes.xml b/src/changes/changes.xml index a3172bc..bac9f96 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -111,6 +111,9 @@ The <action> type attribute can be add,update,fix,remove. <action type="fix" issue="VFS-805" dev="ggregory" due-to="Claus Stadler, Gary Gregory"> HTTP seek always exhausts response #186. </action> + <action type="fix" issue="VFS-805" dev="ggregory" due-to="Max Kellermann, Mark Thomas, Bernd, Gary Gregory"> + SftpFileObject: Add synchronized to methods that read or write the thread-unsafe instance variable of type com.jcraft.jsch.SftpATTRS. + </action> <!-- UPDATES --> <action type="update" dev="ggregory" due-to="Gary Gregory"> Bump Log4j 2.14.0 -> 2.14.1.