RFR: 8355573: Remove kludge_c++11.h from jpackage code

Alexander Matveev almatvee at openjdk.org
Mon May 5 22:31:48 UTC 2025


On Fri, 25 Apr 2025 06:14:36 GMT, Julian Waters <jwaters at openjdk.org> wrote:

> kludge_c++11.h was introduced to work around older C++ versions not having access to C++ utilities like std::unique_ptr. Since we are already on C++14 (And hopefully will get C++17 soon) this workaround can be removed from jpackage code.

src/jdk.jpackage/windows/native/common/MsiUtils.h line 35:

> 33: #include <new>
> 34: #include <map>
> 35: #include <memory>

Why this include was added?

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/24868#discussion_r2074290056


More information about the core-libs-dev mailing list