Attached is a diff that will fix a failure when running xaSimpleNegative test with jdk131 based jvms.
The problem was caused by the fact that the test calls NoHoldForConnection 4 times, but this - as is documented in the test - can not be resolved with jdk13. The patch adds a _sed.properties file that removes the error from the .out.
(As always, the error is still present in the .tmp file when running with jdk131.)


Myrna

Index: 
java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/xaSimpleNegative_sed.properties
===================================================================
--- 
java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/xaSimpleNegative_sed.properties
    (revision 0)
+++ 
java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/xaSimpleNegative_sed.properties
    (revision 0)
@@ -0,0 +1,9 @@
+# Filters and substitutes for SED
+# Multiple patterns for DELETE: comma separated
+#   delete=pattern1,pattern2,...,patternn
+# No commas can be allowed in the patterns.
+#
+# Multiple patterns for SUBSTITUTE: comma separated <pattern;substitute> pair
+#   
substitute=pattern1;substitute1,pattern2;substitute2,...,patternn;substituten
+# No commas or semicolons can be allowed in the patterns/subsitutes.
+delete=ERROR XJ001: Java exception: 'java.lang.NoSuchMethodException: '.,ERROR 
XJ001: Java exception: 'java.lang.NoSuchMethodException: setHoldability'.

Property changes on: 
java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/xaSimpleNegative_sed.properties
___________________________________________________________________
Name: svn:eol-style
   + native

Index: 
java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/copyfiles.ant
===================================================================
--- 
java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/copyfiles.ant  
    (revision 124830)
+++ 
java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/copyfiles.ant  
    (working copy)
@@ -13,6 +13,7 @@
 xaMorph.sql
 xaSimpleNegative.sql
 xaSimpleNegative_derby.properties
+xaSimpleNegative_sed.properties
 xaSimplePositive.sql
 xaSimplePositive_app.properties
 xaSimplePositive_sed.properties

Reply via email to