FetchContext seedContext = updateManager.node.clientCore.makeClient((short) 0, true, false).getFetchContext();
FetchContext tempContext = new FetchContext(seedContext, FetchContext.IDENTICAL_MASK, true, blocks);
tempContext.localRequestOnly = true;
File f;
FileBucket b = null;
try {
f = File.createTempFile("main-", ".fblob.tmp", updateManager.node.clientCore.getPersistentTempDir());
f.deleteOnExit();
b = new FileBucket(f, false, false, true, true);
} catch(IOException e) {
Logger.error(this, "Cannot share main jar from " + toString + " with our peers because cannot write the cleaned version to disk: " + e, e);
System.err.println("Cannot share main jar from " + toString + " with our peers because cannot write the cleaned version to disk: " + e);
e.printStackTrace();
b = null;
f = null;
}
final FileBucket cleanedBlob = b;
final File cleanedBlobFile = f;
ClientGetCallback myCallback = new ClientGetCallback() {
@Override