mirror of
https://github.com/google/nomulus
synced 2026-07-27 10:32:40 +00:00
We used to have a lot more vendored third_party dependencies, but now we're only going to have three that we know of, so this java/javatests distinction isn't necessary. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=177631319
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
threadFactoryanduseThreadNamesfields. - 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.