Uploaded image for project: 'MINA SSHD'
  1. MINA SSHD
  2. SSHD-1338

SSHD 2.12 not binary compatible with JGIT 5.13

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.12.1
    • None

    Description

      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:

      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)
      

      Attachments

        Issue Links

          Activity

            People

              gnodet Guillaume Nodet
              thofman Tomas Hofman
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: