db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kahat...@apache.org
Subject svn commit: r1437359 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/DatabaseClassLoadingTest.java
Date Wed, 23 Jan 2013 12:11:20 GMT
Author: kahatlen
Date: Wed Jan 23 12:11:19 2013
New Revision: 1437359

URL: http://svn.apache.org/viewvc?rev=1437359&view=rev
Log:
DERBY-553: With JDK 1.5 signatures from signed jar in a database are not returned by Class.getSigners()
when database in stored in a jar file.

Enable test case that fails because of this bug, on the platforms where it is fixed.

Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/DatabaseClassLoadingTest.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/DatabaseClassLoadingTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/DatabaseClassLoadingTest.java?rev=1437359&r1=1437358&r2=1437359&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/DatabaseClassLoadingTest.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/DatabaseClassLoadingTest.java
Wed Jan 23 12:11:19 2013
@@ -800,8 +800,11 @@ public class DatabaseClassLoadingTest ex
 
             getResourceTests(conn);
             
-            // Disabled due to DERBY-553
-            // signersTests(conn);
+            // DERBY-553: Disabled on Java 5 due to JVM bug
+            // http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6284489
+            if (!isJava5()) {
+                signersTests(conn);
+            }
             
             // ensure that a read-only database automatically gets table locking
             conn.setAutoCommit(false);



Mime
View raw message