mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bran Lee (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SSHD-667) RootedFileSystemProvider throws ProviderMismatchException when calling newByteChannel
Date Mon, 16 May 2016 20:38:12 GMT

    [ https://issues.apache.org/jira/browse/SSHD-667?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15285250#comment-15285250
] 

Bran Lee commented on SSHD-667:
-------------------------------

Proposed solution to method.

{code:title=Bar.java|borderStyle=solid}
    public SeekableByteChannel newByteChannel(Path path, Set<? extends OpenOption> options,
FileAttribute<?>... attrs) throws IOException {
        Path r = unroot(path);
        FileSystemProvider p = provider(r);
        return p.newByteChannel(r, options, attrs);
    }
{code}

> RootedFileSystemProvider throws ProviderMismatchException when calling newByteChannel
> -------------------------------------------------------------------------------------
>
>                 Key: SSHD-667
>                 URL: https://issues.apache.org/jira/browse/SSHD-667
>             Project: MINA SSHD
>          Issue Type: Bug
>         Environment: CentOS 6.5
>            Reporter: Bran Lee
>             Fix For: 1.3.0
>
>         Attachments: RootedFileSystemProviderTest.java
>
>
> Calling the newByteChannel method on the RootedFileSystemProvider throws ProviderMismatchException.
> Utilizing JavaSE-1.8



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message