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

Dhamoder Nalla dhanalla at openjdk.org
Thu Sep 26 03:32:36 UTC 2024


On Fri, 20 Sep 2024 20:35:34 GMT, Chris Plummer <cjplummer at openjdk.org> wrote:

> > > 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.
> 
> It has been a goal to maintain attach compatibility between different versions of the attaching and attached to JVMs. We've fixed bugs in this area in the past. For example, there have been changes that caused old versions of attaching tools like jstack and jcmd to fail when attaching to newer JVMs. We've gone back and fixed these issues in the past. Note in these cases the issue had to do with the protocol used to communicate arguments, not the actual attach itself. I think in the case of this PR we are talking about a failure locate/identify the target JVM.
Thank you @plummercj for sharing your insights. 
Could you please provide some guidance on how we can maintain compatibility?

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

PR Comment: https://git.openjdk.org/jdk/pull/20600#issuecomment-2375781969


More information about the serviceability-dev mailing list