On Fri, 14 Apr 2023 05:20:48 GMT, David Holmes <dhol...@openjdk.org> wrote:

>> src/jdk.management/share/native/libmanagement_ext/management_ext.c line 34:
>> 
>>> 32: #define ERR_MSG_SIZE 128
>>> 33: 
>>> 34: const JmmInterface* jmm_interface_management_ext = NULL;
>> 
>> Can you add a comment before declaring the two "exported" symbols together:
>> 
>> // These symbols are global in this library but need to be uniquely named to 
>> avoid conflicts
>> // with same-named symbols in other libraries, when statically linking.
>> 
>> Thanks.
>
> Oops! Sorry meant to add this comment to the declarations in the hpp file.

Added comment as suggested (with minor adjustment) in management_ext.h. Thanks.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/13451#discussion_r1167098349

Reply via email to