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

Java examples crash when closing connections

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • WT2.7.0
    • Affects Version/s: WT2.6.1
    • Component/s: None
    • None

      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.

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

              Created:
              Updated:
              Resolved: