jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rve...@apache.org
Subject [17/50] [abbrv] jena git commit: Use forked configuration to avoid classpath leakage
Date Tue, 17 Feb 2015 12:42:26 GMT
Use forked configuration to avoid classpath leakage


Project: http://git-wip-us.apache.org/repos/asf/jena/repo
Commit: http://git-wip-us.apache.org/repos/asf/jena/commit/08229262
Tree: http://git-wip-us.apache.org/repos/asf/jena/tree/08229262
Diff: http://git-wip-us.apache.org/repos/asf/jena/diff/08229262

Branch: refs/heads/eliminate-assignments
Commit: 082292628552099b730abd7e183a90eb8c4dbb31
Parents: 778adac
Author: Stian Soiland-Reyes <stain@apache.org>
Authored: Tue Feb 3 00:09:53 2015 +0000
Committer: Stian Soiland-Reyes <stain@apache.org>
Committed: Mon Feb 9 10:03:55 2015 +0000

----------------------------------------------------------------------
 apache-jena-osgi/jena-osgi-test/pom.xml                         | 4 +++-
 .../src/test/java/org/apache/jena/osgi/test/JenaOSGITest.java   | 5 +++++
 2 files changed, 8 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jena/blob/08229262/apache-jena-osgi/jena-osgi-test/pom.xml
----------------------------------------------------------------------
diff --git a/apache-jena-osgi/jena-osgi-test/pom.xml b/apache-jena-osgi/jena-osgi-test/pom.xml
index 2dc1214..4af90b7 100644
--- a/apache-jena-osgi/jena-osgi-test/pom.xml
+++ b/apache-jena-osgi/jena-osgi-test/pom.xml
@@ -52,11 +52,13 @@
 
 		<dependency>
 			<groupId>org.ops4j.pax.exam</groupId>
-			<artifactId>pax-exam-container-native</artifactId>
+			<!-- One of: -forked -native -paxrunner -->
+			<artifactId>pax-exam-container-forked</artifactId>
 			<version>${exam.version}</version>
 			<scope>test</scope>
 		</dependency>
 
+
 		<dependency>
 			<groupId>org.ops4j.pax.exam</groupId>
 			<artifactId>pax-exam-junit4</artifactId>

http://git-wip-us.apache.org/repos/asf/jena/blob/08229262/apache-jena-osgi/jena-osgi-test/src/test/java/org/apache/jena/osgi/test/JenaOSGITest.java
----------------------------------------------------------------------
diff --git a/apache-jena-osgi/jena-osgi-test/src/test/java/org/apache/jena/osgi/test/JenaOSGITest.java
b/apache-jena-osgi/jena-osgi-test/src/test/java/org/apache/jena/osgi/test/JenaOSGITest.java
index 3d93bf1..324463d 100644
--- a/apache-jena-osgi/jena-osgi-test/src/test/java/org/apache/jena/osgi/test/JenaOSGITest.java
+++ b/apache-jena-osgi/jena-osgi-test/src/test/java/org/apache/jena/osgi/test/JenaOSGITest.java
@@ -76,6 +76,11 @@ public class JenaOSGITest {
 	@Configuration
 	public Option[] config() {
 		return options(
+				bootDelegationPackages("sun.*", 
+						"com.sun.*",
+						"java.*",
+						"javax.*",
+						"javax.net.ssl"),
 				mavenBundle("org.apache.jena", "jena-osgi"),
 				junitBundles());
 	}


Mime
View raw message