db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "A B (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-2502) Unclosed ResultSets choke JUnit lang _Suite on java 6
Date Wed, 04 Apr 2007 18:02:32 GMT

    [ 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

> 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:
>         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.

View raw message