You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "A B (JIRA)" <ji...@apache.org> on 2007/04/04 20:02:32 UTC

[jira] Commented: (DERBY-2502) Unclosed ResultSets choke JUnit lang _Suite on java 6

    [ https://issues.apache.org/jira/browse/DERBY-2502?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12486723 ] 

A B commented on DERBY-2502:
----------------------------

The patch committed for this issue (derby-2502-01.diff, committed with svn # 523887) is causing a failure in the lang/XMLTypeAndOpsTest.  The failure occurs because the testAttrSerialization() fixture tries to getWarnings() on the result set after checking the results, but with derby-2502-01.diff the result set is now closed, hence an error when trying to "getWarnings()".

This particular assertion of the warning is not critical to the test, it's just something that came over from the .sql test.  Nonetheless, it worked before svn # 523887 and fails after.

This has not been showing up in the tinderbox tests because tinderbox runs with Sun JDKs, which do not include the requisite version of Xalan and thus the XML tests are implicitly disabled.

> Unclosed ResultSets choke JUnit lang _Suite on java 6
> -----------------------------------------------------
>
>                 Key: DERBY-2502
>                 URL: https://issues.apache.org/jira/browse/DERBY-2502
>             Project: Derby
>          Issue Type: Bug
>          Components: SQL, Test
>    Affects Versions: 10.3.0.0
>         Environment: solaris, java 6 build 105, insane+debug jars
>            Reporter: Rick Hillegas
>         Attachments: derby-2502-01.diff
>
>
> The lang suite fail for me from UnaryArithmeticParameterTest on. The tests can't drop table T1 because a ResultSet is open. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.