RFR: 8291917: Windows - Improve error messages when the C Runtime Libraries or jvm.dll cannot be loaded [v14]

David Holmes dholmes at openjdk.org
Tue Oct 11 01:42:24 UTC 2022


On Mon, 10 Oct 2022 11:58:33 GMT, Julian Waters <jwaters at openjdk.org> wrote:

>> src/java.base/windows/native/libjli/java_md.h line 48:
>> 
>>> 46:  */
>>> 47: 
>>> 48: void reportWithLastWindowsError(const char* message, ...);
>> 
>> Why does this need to be exported in the header file? Are you expecting other code to call this?
>
> I left that in there since it would possibly be a useful utility to have for other JLI code that might need to work with Windows errors in the future

In that case shouldn't the `JLI_xxx` naming scheme be retained?

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

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


More information about the core-libs-dev mailing list