mirror of
https://github.com/google/nomulus.git
synced 2025-05-07 23:38:21 +02:00
TESTED=Verified on Alpha with an updated build using Java 8, Verified on alpha against the latest java 8 based build. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=171297613 |
||
---|---|---|
.. | ||
BUILD | ||
jsch-0.1.53-src.jar | ||
jsch-0.1.53.jar | ||
LICENSE | ||
README.md |
JSch 0.1.53
JSCH is a library for making SSH and SFTP connections from Java. It is released under a BSD-style license. See its project page for further details.
Local Modifications for Google
Define global ThreadFactory instance. This allows the library to be used on
App Engine, which doesn't allow apps to call new Thread()
. To do this, you
must override JSch.threadFactory
with something from GAE's ThreadManager.
Another global is also provided to disable calls to Thread#setName
which
always crash on GAE, regardless of ThreadFactory.
Files edited:
- JSch.java - Defined new
threadFactory
anduseThreadNames
fields. - Util.java - Updated thread creation code.
- ChannelDirectTCPIP.java - Updated thread creation code.
- ChannelSubsystem.java - Updated thread creation code.
- ChannelShell.java - Updated thread creation code.
- Session.java - Updated thread creation code.
- ChannelForwardedTCPIP.java - Updated thread creation code.
- ChannelExec.java - Updated thread creation code.