Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
openSUSE:Leap:16.0:FactoryCandidates
jsch
jsch-junixsocket.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File jsch-junixsocket.patch of Package jsch
--- a/src/main/java/com/jcraft/jsch/SSHAgentConnector.java +++ b/src/main/java/com/jcraft/jsch/SSHAgentConnector.java @@ -93,21 +93,7 @@ public class SSHAgentConnector implements AgentConnector { } private static USocketFactory getUSocketFactory() throws AgentProxyException { - try { - return new UnixDomainSocketFactory(); - } catch (AgentProxyException e) { - try { - return new JUnixSocketFactory(); - } catch (NoClassDefFoundError ee) { - AgentProxyException eee = new AgentProxyException("junixsocket library unavailable"); - eee.addSuppressed(e); - eee.addSuppressed(ee); - throw eee; - } catch (AgentProxyException ee) { - ee.addSuppressed(e); - throw e; - } - } + return new UnixDomainSocketFactory(); } private static Path getSshAuthSocket() throws AgentProxyException { --- a/src/main/java9/module-info.java +++ b/src/main/java9/module-info.java @@ -6,7 +6,6 @@ module com.jcraft.jsch { requires static org.apache.logging.log4j; requires static org.slf4j; requires static org.bouncycastle.provider; - requires static org.newsclub.net.unix; requires static com.sun.jna; requires static com.sun.jna.platform; }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor