You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Tomas Hofman (Jira)" <ji...@apache.org> on 2024/01/23 10:49:00 UTC

[jira] [Created] (SSHD-1338) SSHD 2.12 not binary compatible with JGIT 5.13

Tomas Hofman created SSHD-1338:
----------------------------------

             Summary: 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


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