RFR: 8329862: GetApplicationHome and GetApplicationHomeFromDll enhance jli tracing [v4]

Matthias Baesken mbaesken at openjdk.org
Tue Apr 23 11:53:29 UTC 2024


On Mon, 22 Apr 2024 17:19:14 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:

> But that sounds like a very special case.

Not sure if it is really such a special case.  Currently both modes (getting the image path from launcher binary path , and getting the image path from 'the dll' / GetApplicationHomeFromDll  (libjli.so on Linux)  exist and are to my knowledge supported.  At least one jtreg test fails when the GetApplicationHomeFromDll  does not work any more.
So I think it is natural that both modes are also supported/augmented by some tracing.
We could probably reduce the trace message(s) added to just one if this is desired .

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

PR Comment: https://git.openjdk.org/jdk/pull/18699#issuecomment-2072090837


More information about the core-libs-dev mailing list