You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Guillaume Nodet (Jira)" <ji...@apache.org> on 2024/01/30 08:16:00 UTC
[jira] [Closed] (SSHD-1338) SSHD 2.12 not binary compatible with JGIT 5.13
[ https://issues.apache.org/jira/browse/SSHD-1338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Nodet closed SSHD-1338.
---------------------------------
Resolution: Fixed
> SSHD 2.12 not binary compatible with JGIT 5.13
> ----------------------------------------------
>
> Key: SSHD-1338
> URL: https://issues.apache.org/jira/browse/SSHD-1338
> Project: MINA SSHD
> Issue Type: Improvement
> Reporter: Tomas Hofman
> Assignee: Guillaume Nodet
> Priority: Major
> Fix For: 2.12.1
>
>
> Current version of SSHD still contains a dependency on JGIT 5.13. This is to keep SSHD compatible with Java 1.8, as JGIT 6.x requires Java 11.
> However SSHD 2.12 is not binary compatible with 2.9.x versions, which is the version that JGIT 5.13.x were build against. The result is that when SSHD 2.12 and JGIT 5.13 are used together, one can get NoSuchMethodErrors like here:
> {code}
> Caused by: java.lang.NoSuchMethodError: 'java.lang.Object org.apache.sshd.client.future.ConnectFuture.verify()'
> at org.eclipse.jgit@5.13.2.SP1-redhat-00001//org.eclipse.jgit.transport.sshd.SshdSession.connect(SshdSession.java:189)
> at org.eclipse.jgit@5.13.2.SP1-redhat-00001//org.eclipse.jgit.transport.sshd.SshdSession.connect(SshdSession.java:142)
> at org.eclipse.jgit@5.13.2.SP1-redhat-00001//org.eclipse.jgit.transport.sshd.SshdSession.connect(SshdSession.java:99)
> at org.eclipse.jgit@5.13.2.SP1-redhat-00001//org.eclipse.jgit.transport.sshd.SshdSessionFactory.getSession(SshdSessionFactory.java:235)
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org
For additional commands, e-mail: dev-help@mina.apache.org