You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by rh...@apache.org on 2013/01/29 14:38:30 UTC
svn commit: r1439889 -
/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/TableFunctionTest.java
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" +