kikocis/java-driver public
Changesets · Branches · Tags · Compare
| Changeset | 7aa30ea93ee9d01e64c8c6572b9ac43b2ac0b87b774f2118ecc53af0ccfe1b22 |
|---|---|
| Author | Andrew Tolbert <andrew.tolbert@datastax.com> · 2015-11-16 16:38 -06:00 |
| Committer | Andrew Tolbert <andrew.tolbert@datastax.com> · 2015-11-16 16:38 -06:00 |
| Parents | 3c92ee75e722 |
1 file changed
modified driver-examples/osgi/src/test/java/com/datastax/driver/osgi/BundleOptions.java +5 −1
| @@ -21,6 +21,7 @@ | ||
| 21 | 21 | import org.ops4j.pax.exam.options.UrlProvisionOption; |
| 22 | 22 | import org.ops4j.pax.exam.util.PathUtils; |
| 23 | 23 | |
| 24 | +import static org.ops4j.pax.exam.CoreOptions.bootDelegationPackage; | |
| 24 | 25 | import static org.ops4j.pax.exam.CoreOptions.bundle; |
| 25 | 26 | import static org.ops4j.pax.exam.CoreOptions.mavenBundle; |
| 26 | 27 | import static org.ops4j.pax.exam.CoreOptions.options; |
| @@ -47,7 +48,7 @@ | ||
| 47 | 48 | } |
| 48 | 49 | |
| 49 | 50 | public static CompositeOption nettyBundles() { |
| 50 | - final String nettyVersion = "4.0.27.Final"; | |
| 51 | + final String nettyVersion = "4.0.33.Final"; | |
| 51 | 52 | return new CompositeOption() { |
| 52 | 53 | |
| 53 | 54 | @Override public Option[] getOptions() { |
| @@ -71,6 +72,9 @@ | ||
| 71 | 72 | |
| 72 | 73 | @Override public Option[] getOptions() { |
| 73 | 74 | return options( |
| 75 | + // Delegate javax.security.cert to the parent classloader. javax.security.cert.X509Certificate is used in | |
| 76 | + // io.netty.util.internal.EmptyArrays, but not directly by the driver. | |
| 77 | + bootDelegationPackage("javax.security.cert"), | |
| 74 | 78 | systemProperty("cassandra.contactpoints").value(CCMBridge.IP_PREFIX + 1), |
| 75 | 79 | systemProperty("logback.configurationFile").value("file:" + PathUtils.getBaseDir() + "/src/test/resources/logback.xml"), |
| 76 | 80 | mavenBundle("org.slf4j", "slf4j-api", "1.7.5"), |