On Sun, 7 Mar 2021 19:34:36 GMT, Thomas Stuefe <stu...@openjdk.org> wrote:

> I wondered why C++ std headers are even used. The source code looks C-ish; 
> but "8196681: Java Access Bridge logging and debug flags dynamically 
> controlled" added some coding, adding a bunch of C++11x semantics and 
> included C++ std headers. Using "/Ehsc" had even been discussed: 
> https://mail.openjdk.java.net/pipermail/awt-dev/2018-December/014847.html but 
> not done.

After that discussion the usage of "string.h"/etc was dropped and "C string 
manipulation API" was used instead, and that suppressed the warning. I do not 
know why it was not complaining about "getTimeStamp". I think the fix should 
refactor the code again.

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

PR: https://git.openjdk.java.net/jdk/pull/2859

Reply via email to