RFR: 8337408: Use GetTempPath2 API instead of GetTempPath [v2]
Dhamoder Nalla
dhanalla at openjdk.org
Tue Sep 17 18:33:06 UTC 2024
On Wed, 11 Sep 2024 08:48:42 GMT, Kevin Walls <kevinw at openjdk.org> wrote:
> OK thanks, so the change only affects SYSTEM accounts, and such accounts already see a different temp path to non-SYSTEM accounts.
>
> Newer and older Java versions run by a SYSTEM account will have different temp paths, therefore the hsperfdata_username will be in a different place.
>
> (I was being picky about attach, but it's a universal thing which is expected to work across different Java versions.)
>
> Do we have any apps commonly run as a Windows SYSTEM account which expect to attach to other Java apps run by a different Java version? You're suggesting that will have no impact and agreed it would seem really unusual. 8-)
Good Question @kevinjwalls. We are not aware of any customers using attach api tools with Java application of different versions. In these cases, we recommend upgrading to the latest version.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/20600#issuecomment-2356624922
More information about the core-libs-dev
mailing list