db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhille...@apache.org
Subject svn commit: r1439889 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/TableFunctionTest.java
Date Tue, 29 Jan 2013 13:38:30 GMT
Author: rhillegas
Date: Tue Jan 29 13:38:29 2013
New Revision: 1439889

URL: http://svn.apache.org/viewvc?rev=1439889&view=rev
Log:
DERBY-6058: When running on jsr169, skip a test which requires varargs, a feature which was
introduced by Java 5.

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

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/TableFunctionTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/TableFunctionTest.java?rev=1439889&r1=1439888&r2=1439889&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/TableFunctionTest.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/TableFunctionTest.java
Tue Jan 29 13:38:29 2013
@@ -2334,6 +2334,10 @@ public class TableFunctionTest extends B
     private void  derby_6040()
         throws Exception
     {
+        // this test uses varargs routines, which aren't available unless the VM
+        // is at least at level 5
+        if ( JDBC.vmSupportsJSR169() ) { return; }
+        
         goodStatement
             (
              "create function leftTable\n" +



Mime
View raw message