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 Bug
    • Status: Resolved
    • Priority: Major 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 Rudyy added a comment -

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

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

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

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

        Patch applied.

        Show
        Robbie Gemmell added a comment - Patch applied.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development