jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r1503723 - /jackrabbit/trunk/jackrabbit-webapp/src/test/java/org/apache/jackrabbit/j2ee/BackwardsCompatibilityIT.java
Date Tue, 16 Jul 2013 14:11:31 GMT
Author: jukka
Date: Tue Jul 16 14:11:31 2013
New Revision: 1503723

URL: http://svn.apache.org/r1503723
Log:
JCR-3598: Oak in Jackrabbit deployment packages

Try more explicit loading of the Derby driver

Modified:
    jackrabbit/trunk/jackrabbit-webapp/src/test/java/org/apache/jackrabbit/j2ee/BackwardsCompatibilityIT.java

Modified: jackrabbit/trunk/jackrabbit-webapp/src/test/java/org/apache/jackrabbit/j2ee/BackwardsCompatibilityIT.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-webapp/src/test/java/org/apache/jackrabbit/j2ee/BackwardsCompatibilityIT.java?rev=1503723&r1=1503722&r2=1503723&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-webapp/src/test/java/org/apache/jackrabbit/j2ee/BackwardsCompatibilityIT.java
(original)
+++ jackrabbit/trunk/jackrabbit-webapp/src/test/java/org/apache/jackrabbit/j2ee/BackwardsCompatibilityIT.java
Tue Jul 16 14:11:31 2013
@@ -64,11 +64,10 @@ public class BackwardsCompatibilityIT ex
     private static final Logger log =
         LoggerFactory.getLogger(BackwardsCompatibilityIT.class);
 
-    /** Force loading of the Derby JDBC driver also in Java 5 environments. */
-    @SuppressWarnings("unused")
-    private static final Class<?> driver = EmbeddedDriver.class;
-
     public void testBackwardsCompatibility() throws Exception {
+        // Force loading of the Derby JDBC driver
+        new EmbeddedDriver();
+
         File target = new File("target/backwards-compatibility-test");
         FileUtils.deleteDirectory(target);
         target.mkdirs();



Mime
View raw message