On Thu, 2 Feb 2023 06:12:20 GMT, Julian Waters <jwat...@openjdk.org> wrote:

> Small, trivial change to resolve initialization order reordering in 
> constructors, required for 
> [JDK-8288293](https://bugs.openjdk.org/browse/JDK-8288293)
> 
> gcc will fail to compile a Windows JDK with the following errors, which 
> causes a build failure eventually:
> `GDIHashtable.cpp: m_nCounter is initialized before m_nDestroyPeriod 
> [-Werror=reorder]` for libawt
> `sawindbg.cpp: bytePtr is initialized before releaseMode [-Werror=reorder]` 
> for libsaproc
> 
> Reordering these initializer lists to appear in the order of their 
> declarations will resolve the build failure

Thanks for filling in the details 8-)

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

PR: https://git.openjdk.org/jdk/pull/12382

Reply via email to