You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Bran Lee (JIRA)" <ji...@apache.org> on 2016/05/16 20:38:12 UTC

[jira] [Commented] (SSHD-667) RootedFileSystemProvider throws ProviderMismatchException when calling newByteChannel

    [ 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)