Skip to content

Commit

Permalink
Merge pull request alibaba#91 from alibaba/revert-84-dev-tmpdir-fix
Browse files Browse the repository at this point in the history
Revert "解决docker环境下java.io.tmpdir可能不存在的问题"
  • Loading branch information
oldmanpushcart authored Jun 20, 2018
2 parents 560b774 + d498113 commit da534bc
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 25 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,6 @@ public class ModuleClassLoader extends RoutingURLClassLoader {
private final long checksumCRC32;

private static File copyToTempFile(final File moduleJarFile) throws IOException {

//https://github.com/alibaba/jvm-sandbox/issues/75
com.alibaba.jvm.sandbox.core.util.FileUtils.makeTmpDirIfNeeded();

File tempFile = File.createTempFile("sandbox_module_jar_", ".jar");
tempFile.deleteOnExit();
FileUtils.copyFile(moduleJarFile, tempFile);
Expand Down

This file was deleted.

0 comments on commit da534bc

Please sign in to comment.