Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-2194

Java examples crash when closing connections

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: WT2.6.1
    • Fix Version/s: WT2.7.0
    • Labels:
      None

      Description

      All the Java examples now crash when the connection is closed. Background: our Java SWIG layer sets up callbacks for cursors/sessions/connections that are closed – needed so that the Java objects associated with these are tagged so that a Java reference on a closed handle will give an appropriate Java exception. The callback is now being called with a cursor on "WiredTigerLAS.wt" that the Java code did not explicitly open, and the WT_CURSOR.lang_private field is NULL, the SWIG layer does not handle this.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                donald.anderson Donald Anderson
                Reporter:
                donald.anderson Donald Anderson
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: