public class ClassLoaderLeakageTestCase extends Object
| Constructor and Description |
|---|
ClassLoaderLeakageTestCase() |
| Modifier and Type | Method and Description |
|---|---|
void |
testClassLoaderLeak()
This test is a bit complicated: it verifies that super-type lookup occurs
properly if presented with a class that is not accessible from the
current class loader, but which extends some super-type (or implements an
interface) which is accessible.
This type of scenario might occur in web-module to ejb jar interactions... |
void |
testControl()
This initial test is to verify our own sanity
|
void |
testLeak_registerMapChildClasses()
This test attempts to have a child class-loader register a class-mapping
using a class which is only visible to this child loader; currently, this
fails because Orika throws exception on finding a class which is not
accessible to it.
|
public void testControl()
throws Throwable
Throwablepublic void testClassLoaderLeak()
throws Exception
Exceptionpublic void testLeak_registerMapChildClasses()
throws Throwable
Copyright © 2016 Glasnost. All rights reserved.