db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject svn commit: r487655 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/DatabaseClassLoadingTest.java
Date Fri, 15 Dec 2006 20:37:53 GMT
Author: djd
Date: Fri Dec 15 12:37:52 2006
New Revision: 487655

URL: http://svn.apache.org/viewvc?view=rev&rev=487655
Log:
DERBY-2179 Temp fix to the test to avoid installing a thread context class loader and
losing the previously installed one. Can be omitted beacuse the actual portion of
the test fixture that uses the class loader is blocked by DERBY-2162.

Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/DatabaseClassLoadingTest.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/DatabaseClassLoadingTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/DatabaseClassLoadingTest.java?view=diff&rev=487655&r1=487654&r2=487655
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/DatabaseClassLoadingTest.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/DatabaseClassLoadingTest.java
Fri Dec 15 12:37:52 2006
@@ -628,14 +628,18 @@
         
         URL jarURL = SupportFilesSetup.getReadOnlyURL("dclt.jar");
         
-        setContextClassLoader(jarURL);
+        // DERBY-2179 - temp disable using the class loader
+        // (since due to DERBY-2162) it's not working anyway)
+        // need to re-write code not to assume there is no
+        // existing thread context loader.
+        //setContextClassLoader(jarURL);
         try {
             // Disabled due to DERBY-2162, running this opens
             // the database thus accessing resources and means the
             // jar file cannot be cleaned up.
             // readOnlyTest(ds);
         } finally {
-            setContextClassLoader(null);
+            //setContextClassLoader(null);
         } 
     }
     



Mime
View raw message