Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-3716

Sun TCK tests expect an IllegalStateException thrown on invoking of Session#getTransacted() on closed session/connection

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.13, 0.14, 0.15
    • Fix Version/s: 0.15
    • Component/s: Java Client
    • Labels:
      None

      Description

      Sun TCK checks that Session#getTransacted() throws an IllegalStateException when invoked on closed session.

      It is an undocumented feature. I could not find a description of such behavior in both JMS Spec and JMS javadocs.

      This feature was present previously but was removed as part of failover functionality improvements.

        Activity

        Hide
        alex.rufous Alex Rudyy added a comment -

        Attacheda patch restoring the behaviour to throw an IllegalStateException from Session#getTransacted() when invoked on closed session

        Show
        alex.rufous Alex Rudyy added a comment - Attacheda patch restoring the behaviour to throw an IllegalStateException from Session#getTransacted() when invoked on closed session
        Hide
        alex.rufous Alex Rudyy added a comment -

        Hi Robbie,
        Could you please review and commit the patch attached?

        Show
        alex.rufous Alex Rudyy added a comment - Hi Robbie, Could you please review and commit the patch attached?
        Hide
        gemmellr Robbie Gemmell added a comment -

        Patch applied.

        Show
        gemmellr Robbie Gemmell added a comment - Patch applied.

          People

          • Assignee:
            gemmellr Robbie Gemmell
            Reporter:
            alex.rufous Alex Rudyy
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development