On Thu, 20 Jun 2024 05:58:16 GMT, Thomas Stuefe <stu...@openjdk.org> wrote:
>> Oh. That's.... interesting. đ > > Of course pre-existing, but the typical pattern we use with RAII objects that > may or may not do something is to give it a constructor argument, e.g. `bool > activate`, that controls if it is activated. Allocating an RAII object with > new/delete seems odd. Please just let this sleeping dog lie. ;-) ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/19778#discussion_r1650340219