Home | History | Annotate | Download | only in support
      1 package tests.support;
      2 
      3 import java.io.File;
      4 import java.io.FileOutputStream;
      5 
      6 public class Support_DeleteOnExitTest {
      7 
      8     /**
      9      * @param args
     10      */
     11     public static void main(String[] args) throws Exception {
     12         File file1 = new File(args[0]);
     13         File file2 = new File(args[1]);
     14 
     15         file1.deleteOnExit();
     16         file2.deleteOnExit();
     17         Runtime.getRuntime().exit(0);
     18     }
     19 
     20 }
     21