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

        Alex Rudyy created issue -
        Alex Rudyy made changes -
        Field Original Value New Value
        Status Open [ 1 ] In Progress [ 3 ]
        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
        Alex Rudyy made changes -
        Alex Rudyy made changes -
        Status In Progress [ 3 ] Ready To Review [ 10006 ]
        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?
        Alex Rudyy made changes -
        Assignee Alex Rudyy [ alex.rufous ] Robbie Gemmell [ gemmellr ]
        Hide
        Robbie Gemmell added a comment -

        Patch applied.

        Show
        Robbie Gemmell added a comment - Patch applied.
        Robbie Gemmell made changes -
        Status Ready To Review [ 10006 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        35m 34s 1 Alex Rudyy 30/Dec/11 11:48
        In Progress In Progress Reviewable Reviewable
        4m 14s 1 Alex Rudyy 30/Dec/11 11:53
        Reviewable Reviewable Resolved Resolved
        6d 23h 37m 1 Robbie Gemmell 06/Jan/12 11:30

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development