RFR: 8298638: Cleanup of unix java_md.c for better re-exec handling

Alan Bateman alanb at openjdk.org
Wed Dec 14 09:54:13 UTC 2022


On Wed, 14 Dec 2022 00:59:53 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> Move "unix" java_md.c cleanup, which is the prerequisites for the fix for JDK-8293806 (PR https://github.com/openjdk/jdk/pull/11538), to a separate PR.
>> 
>> @AlanBateman, @dholmes-ora please, take a look to the changes.
>
> src/java.base/unix/native/libjli/java_md.c line 177:
> 
>> 175:     char clientPattern[] = "lib/client";
>> 176:     char serverPattern[] = "lib/server";
>> 177:     char minimalPattern[] = "lib/minimal";
> 
> I don't see any point in adding this when the MinimalVM is not really relevant to current JDK.

Yeah, the minimal VM build probably needs wider discussion. There are bug reports when it breaks so some people are still building it. The context here seems to be that LD_LIBRARY_PATH set to a location that includes "lib/minimal" so somewhat unusual setup. It seems like it's a separate issue for discussion.

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

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


More information about the core-libs-dev mailing list