You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by dj...@apache.org on 2006/12/15 21:37:53 UTC
svn commit: r487655 -
/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/DatabaseClassLoadingTest.java
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);
}
}