Removed unnecessary #ifdef __cplusplus from .cpp sources

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P3
    • 17
    • Affects Version/s: 14, 15, 16, 17
    • Component/s: tools
    • b09

      Code review feedback:

      The following files:
      src/jdk.jpackage/windows/native/libjpackage/WindowsRegistry.cpp,
      src/jdk.jpackage/windows/native/libjpackage/jpackage.cpp, and
      src/jdk.jpackage/windows/native/libwixhelper/libwixhelper.cpp
      are completely wrapped with:

      #ifdef __cplusplus
      extern "C" {
      #endif
      ...
      #ifdef __cplusplus
      }
      #endif

      Would it be better to remove these wrappers and either write the source in C++ or move it to ".c" files ?

            Assignee:
            Alexey Semenyuk
            Reporter:
            Andy Herrick (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: