TestClassLoaderLeak

Test that static references within the database engine don't reference the class itself. For example, there is a leak if a class contains a static reference to a stack trace. This was the case using the following declaration: static EOFException EOF = new EOFException(). The way to solve the problem is to not use such references, or to not fill in the stack trace (which indirectly references the class loader).

Methods
static void main(String... a)
Run just this test.
static void main(String... a) throws Exception
Run just this test.
Parameters:
a - ignored
static void runTest()
This method is called using reflection.
static void runTest() throws Exception
This method is called using reflection.
void test()
void test() throws Exception

Fields
static String CLASS_NAME

CLASS_NAME

The name of this class (used by reflection).