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

Remove SWIGJAVA code from wiredtiger.in

    XMLWordPrintable

Details

    • Technical Debt
    • Status: Closed
    • Minor - P4
    • Resolution: Fixed
    • None
    • WT11.0.0, 6.0.0-rc0
    • None
    • Storage - Ra 2022-04-04

    Description

      There's code in wiredtiger.in with defined(SWIGJAVA):

      #if defined(SWIGJAVA)
      #define WT_HANDLE_NULLABLE(typename)    typename##_NULLABLE
      #define WT_HANDLE_CLOSED(typename)      typename##_CLOSED
      typedef WT_CURSOR                       WT_CURSOR_NULLABLE;
      typedef WT_CURSOR                       WT_CURSOR_CLOSED;
      typedef WT_SESSION                      WT_SESSION_CLOSED; 
      typedef WT_CONNECTION                   WT_CONNECTION_CLOSED;
      #elif !defined(DOXYGEN)
      #define WT_HANDLE_NULLABLE(typename)    typename
      #define WT_HANDLE_CLOSED(typename)      typename
      #endif  

      that should be removed.

      Also, if WT_HANDLE_NULLABLE, WT_HANDLE_CLOSED are used anywhere, they can be removed, as they are now no-ops.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: