geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r547312 - /geronimo/server/trunk/modules/geronimo-kernel/src/test/java/org/apache/geronimo/kernel/config/MultiParentClassLoaderTest.java
Date Thu, 14 Jun 2007 16:58:17 GMT
Author: jdillon
Date: Thu Jun 14 09:58:16 2007
New Revision: 547312

URL: http://svn.apache.org/viewvc?view=rev&rev=547312
Log:
(GERONIMO-2626) Try not to litter test-*.jar files in the temp dir

Modified:
    geronimo/server/trunk/modules/geronimo-kernel/src/test/java/org/apache/geronimo/kernel/config/MultiParentClassLoaderTest.java

Modified: geronimo/server/trunk/modules/geronimo-kernel/src/test/java/org/apache/geronimo/kernel/config/MultiParentClassLoaderTest.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-kernel/src/test/java/org/apache/geronimo/kernel/config/MultiParentClassLoaderTest.java?view=diff&rev=547312&r1=547311&r2=547312
==============================================================================
--- geronimo/server/trunk/modules/geronimo-kernel/src/test/java/org/apache/geronimo/kernel/config/MultiParentClassLoaderTest.java
(original)
+++ geronimo/server/trunk/modules/geronimo-kernel/src/test/java/org/apache/geronimo/kernel/config/MultiParentClassLoaderTest.java
Thu Jun 14 09:58:16 2007
@@ -315,7 +315,8 @@
 
     private static File createJarFile(int i) throws IOException {
         File file = File.createTempFile("test-" + i + "-", ".jar");
-
+        file.deleteOnExit();
+        
         FileOutputStream out = new FileOutputStream(file);
         JarOutputStream jarOut = new JarOutputStream(out);
 



Mime
View raw message