Skip to content

RemoteFileInputStream#skip returns wrong value #209

@lexx911

Description

@lexx911

net.schmizz.sshj.sftp.RemoteFile.RemoteFileInputStream.skip(long n) returns the new file pointer position but InputStream.skip() should return the actual number of bytes skipped instead.

Some stream implementations like Apache Compress GzipInputStream check the return value and throw an IOException if used on an RemoteFileInputStream.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions