Files
nomulus/third_party/java/jsch/v0_1_53
jianglai 82382aaca6 Move jsch and objectify to directly under third_party
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
2017-12-01 22:14:06 -05:00
..
2017-10-10 12:09:42 -04: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.