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

Remove SWIGJAVA code from wiredtiger.in

    • Type: Icon: Technical Debt Technical Debt
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • WT11.0.0, 6.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Storage - Ra 2022-04-04

      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.

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

              Created:
              Updated:
              Resolved: