diff options
author | Thomas Wolf <thomas.wolf@paranor.ch> | 2021-10-19 09:32:20 +0200 |
---|---|---|
committer | Thomas Wolf <thomas.wolf@paranor.ch> | 2021-10-19 09:32:20 +0200 |
commit | f698fbf919c67edac4b3999cc932c1f22da1dffd (patch) | |
tree | e10ebcf3dfa2cd58aa99245b311b84431c581b83 /org.eclipse.jgit.ssh.jsch | |
parent | f8b0c00e6a8f5628babff6dd37254a21589b6e44 (diff) | |
download | jgit-f698fbf919c67edac4b3999cc932c1f22da1dffd.tar.gz jgit-f698fbf919c67edac4b3999cc932c1f22da1dffd.zip |
JSch: fix service publication for ServiceLoader
The file name in META-INF/services must be the fully qualified
interface name; the content the fully qualified implementation class
name.
This was broken in commit 9683bc71.
Add a test for the default factory being found by the ServiceLoader.
Change-Id: I1f180d7f60e5c1e74a39bbd9a5f0099bd8343e21
Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
Diffstat (limited to 'org.eclipse.jgit.ssh.jsch')
-rw-r--r-- | org.eclipse.jgit.ssh.jsch/resources/META-INF/services/org.eclipse.jgit.transport.SshSessionFactory (renamed from org.eclipse.jgit.ssh.jsch/resources/META-INF/services/org.eclipse.jgit.transport.ssh.jsch.SshSessionFactory) | 0 |
1 files changed, 0 insertions, 0 deletions
diff --git a/org.eclipse.jgit.ssh.jsch/resources/META-INF/services/org.eclipse.jgit.transport.ssh.jsch.SshSessionFactory b/org.eclipse.jgit.ssh.jsch/resources/META-INF/services/org.eclipse.jgit.transport.SshSessionFactory index aca489659e..aca489659e 100644 --- a/org.eclipse.jgit.ssh.jsch/resources/META-INF/services/org.eclipse.jgit.transport.ssh.jsch.SshSessionFactory +++ b/org.eclipse.jgit.ssh.jsch/resources/META-INF/services/org.eclipse.jgit.transport.SshSessionFactory |