[ 
https://issues.apache.org/jira/browse/SSHD-1117?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lyor Goldstein resolved SSHD-1117.
----------------------------------
    Resolution: Information Provided

The code was never intended to be compiled on JDK 1.5 - the minimum requirement 
is 1.8 and has been so for a long time now. The generics issues you encountered 
is the least of the problems - there are lambdas, usage of APIs that exist only 
in 1.8, ditto for classes, dependencies, etc. , etc..

Is there any reasons why you cannot use 1.8 - reminder 1.5-1.7 are obsolete 
(and so is 1.8 pretty much). I don't see any way we can assist you in 
"downgrading" the code - not to mention the possible bugs that would be 
introduced in the attempt.

> SftpSubsystemFactory and SubsystemFactory
> -----------------------------------------
>
>                 Key: SSHD-1117
>                 URL: https://issues.apache.org/jira/browse/SSHD-1117
>             Project: MINA SSHD
>          Issue Type: Question
>            Reporter: Susmit Sarkar
>            Priority: Major
>
> Hello Dev Team,
> SftpSubsystemFactory sftpFactory = new SftpSubsystemFactory(); 
> SftpSubsystemFactory sftpFactory = new SftpSubsystemFactory(); 
> sftpFactory.addSftpEventListener(eventListner); 
> sshd.setSubsystemFactories(Collections.singletonList(sftpFactory));
> I am not able to compile it using JDK 1.5 any work arounds will be highly 
> helpful, as it is only compiled via JDK 1.8
>  
> It's stating its should be of type List<SubsystemFactory> and not 
> List<SftpSubsystemFactory> 
>  
> Please help



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org
For additional commands, e-mail: dev-h...@mina.apache.org

Reply via email to