On Sun, 23 Apr 2023 18:31:57 GMT, Julian Waters <jwat...@openjdk.org> wrote:
> I believe this may have missed removing the exception specifier from an > operator new inside AnyObj, allocation.cpp, since gcc 12 and up on my end now > refuses to compile HotSpot with this change. I'll create a cleanup change for > this, if there isn't any opposition to that It builds for me, with gcc12.2. However, it does look like `AnyObj::operator new(size_t, MEMFLAGS)` should have had the nothrow exception spec removed (both in the header and the .cpp) but didn't. ------------- PR Comment: https://git.openjdk.org/jdk/pull/13498#issuecomment-1519208242