google-nomulus/third_party/jsch/v0_1_53
jianglai 1c1f95992a Move backported JUnit file to third_party (part 2)
Last commit did not pick up all the changes because MOE incorrectly attributed some changes to the wrong commit. This commit should reconcile these. Also picked up some changes to how hamcrest library is depended upon in BUILD file, which should have been included in previous commits.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=177637931
2017-12-02 11:37:46 -05:00
..
BUILD Move backported JUnit file to third_party (part 2) 2017-12-02 11:37:46 -05:00
jsch-0.1.53-src.jar Move backported JUnit file to third_party (part 2) 2017-12-02 11:37:46 -05:00
jsch-0.1.53.jar Move backported JUnit file to third_party (part 2) 2017-12-02 11:37:46 -05:00
LICENSE Move backported JUnit file to third_party (part 2) 2017-12-02 11:37:46 -05:00
README.md Move backported JUnit file to third_party (part 2) 2017-12-02 11:37:46 -05:00

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 and useThreadNames 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.