Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlyn Normington2011-10-12 10:59:34 -0400
committerGlyn Normington2011-10-12 10:59:34 -0400
commit49ca2279f4ca54f26bac406e1c6172899da02c5f (patch)
tree723108735cae9961a356f976bc23fbbd44884bc6
parent29d0d0b1c2e3424eda1cb2277cf61e3785a17fb5 (diff)
downloadorg.eclipse.virgo.kernel-bug353996.tar.gz
org.eclipse.virgo.kernel-bug353996.tar.xz
org.eclipse.virgo.kernel-bug353996.zip
bug 360671: Testcase documentation.bug353996
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/java/org/eclipse/virgo/kernel/deployer/test/SyntheticContextTCCLIntegrationTests.java14
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/SyntheticContextTCCLIntegrationTests.java b/org.eclipse.virgo.kernel.deployer.test/src/test/java/org/eclipse/virgo/kernel/deployer/test/SyntheticContextTCCLIntegrationTests.java
index 0d10e2f2..656c657f 100644
--- a/org.eclipse.virgo.kernel.deployer.test/src/test/java/org/eclipse/virgo/kernel/deployer/test/SyntheticContextTCCLIntegrationTests.java
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/java/org/eclipse/virgo/kernel/deployer/test/SyntheticContextTCCLIntegrationTests.java
@@ -14,8 +14,22 @@ package org.eclipse.virgo.kernel.deployer.test;
import java.io.File;
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
+ * README.TXT.
+ */
+@Ignore("Bug 360671 - Synthetic context class loader is not set as TCCL")
public class SyntheticContextTCCLIntegrationTests extends AbstractDeployerIntegrationTest {
@Test

Back to the top