Skip to main content
diff options
authorGlyn Normington2011-10-12 14:59:34 +0000
committerGlyn Normington2011-10-12 14:59:34 +0000
commit49ca2279f4ca54f26bac406e1c6172899da02c5f (patch)
tree723108735cae9961a356f976bc23fbbd44884bc6 /org.eclipse.virgo.kernel.deployer.test/src/test
parent29d0d0b1c2e3424eda1cb2277cf61e3785a17fb5 (diff)
bug 360671: Testcase documentation.bug353996
Diffstat (limited to 'org.eclipse.virgo.kernel.deployer.test/src/test')
1 files changed, 14 insertions, 0 deletions
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/java/org/eclipse/virgo/kernel/deployer/test/ b/org.eclipse.virgo.kernel.deployer.test/src/test/java/org/eclipse/virgo/kernel/deployer/test/
index 0d10e2f2..656c657f 100644
--- a/org.eclipse.virgo.kernel.deployer.test/src/test/java/org/eclipse/virgo/kernel/deployer/test/
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/java/org/eclipse/virgo/kernel/deployer/test/
@@ -14,8 +14,22 @@ package org.eclipse.virgo.kernel.deployer.test;
import org.eclipse.virgo.kernel.deployer.core.DeploymentIdentity;
+import org.junit.Ignore;
import org.junit.Test;
+ * Test that the synthetic context bundle's class loader is used as the TCCL for a PAR.
+ * <p/>
+ * A bundle "b" in the test PAR invokes a static "run" method in a bundle "global" outside the PAR. The run method
+ * attempts to load a class "AClass" of a package exported by bundle "a" in the PAR (but not imported by bundle "b")
+ * using the current thread context class loader (TCCL). The TCCL should be the class loader of the synthetic context
+ * bundle of the PAR and this class loader should be able to load classes from all packages exported by bundles in the
+ * PAR, including "AClass".
+ * <p/>
+ * For the source of the PAR and "global" bundle, see test-apps/synthetic-tccl. Instructions for building are in
+ */
+@Ignore("Bug 360671 - Synthetic context class loader is not set as TCCL")
public class SyntheticContextTCCLIntegrationTests extends AbstractDeployerIntegrationTest {

Back to the top