Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
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
- links to