RFR: 8312147: Dynamic Exception Specification warnings are no longer required after JDK-8311380

Sergey Bylokhov serb at openjdk.org
Mon Jul 17 21:45:02 UTC 2023


On Mon, 17 Jul 2023 06:45:59 GMT, Julian Waters <jwaters at openjdk.org> wrote:

> After [JDK-8311380](https://bugs.openjdk.org/browse/JDK-8311380), the dynamic exception specification warning pragma can be removed

The log of the GA:

>=== Output from failing command(s) repeated here ===
>* For target support_native_java.desktop_libawt_CmdIDList.obj:
>CmdIDList.cpp
d:\a\jdk\jdk\src\java.desktop\windows\native\libawt\windows\awt_Toolkit.h(257): error C2220: the following warning is treated as an error
d:\a\jdk\jdk\src\java.desktop\windows\native\libawt\windows\awt_Toolkit.h(257): warning C4290: C++ exception specification ignored except to indicate a function is not __declspec(nothrow)
   ... (rest of output omitted)

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

PR Comment: https://git.openjdk.org/jdk/pull/14899#issuecomment-1638926129



More information about the client-libs-dev mailing list