RFR: 8337408: Use GetTempPath2 API instead of GetTempPath [v2]

Dhamoder Nalla dhanalla at openjdk.org
Thu Aug 15 22:08:50 UTC 2024


On Thu, 15 Aug 2024 18:32:29 GMT, Chris Plummer <cjplummer at openjdk.org> wrote:

>> Dhamoder Nalla has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   fix missing code
>
> src/hotspot/os/windows/os_windows.cpp line 1522:
> 
>> 1520: const char* os::get_temp_directory() {
>> 1521:   static char path_buf[MAX_PATH];
>> 1522:   if (_GetTempPath2A != nullptr) {
> 
> Where does _GetTempPath2A get initialized?

Thanks @plummercj for reviewing this PR. Fixed the missing initialization.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/20600#discussion_r1719058178


More information about the core-libs-dev mailing list