RFR: 8295146: Clean up native code with newer C/C++ language features [v2]
David Holmes
dholmes at openjdk.org
Mon Nov 14 08:10:45 UTC 2022
On Mon, 14 Nov 2022 01:39:17 GMT, Julian Waters <jwaters at openjdk.org> wrote:
>> src/hotspot/share/utilities/debug.hpp line 172:
>>
>>> 170: int status, const char* detail);
>>> 171: ATTRIBUTE_PRINTF(4, 5)
>>> 172: void report_fatal(VMErrorType error_type, const char* file, int line, const char* detail_fmt, ...);
>>
>> Why were the ATTRIBUTE_PRINTFs removed?
>
> The ATTRIBUTE_PRINTF macros are still there, just moved in front of the methods
Wow I'm really having eyesight problems today! Sorry about that.
-------------
PR: https://git.openjdk.org/jdk/pull/11081
More information about the security-dev
mailing list