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

Java examples crash when closing connections

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • WT2.6.1
    • WT2.7.0
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: