[jdk17u-dev] Integrated: 8268974: GetJREPath() JLI function fails to locate libjava.so if not standard Java launcher is used

Sergey Nazarkin snazarki at openjdk.org
Thu Mar 14 10:16:45 UTC 2024


On Thu, 29 Feb 2024 12:06:15 GMT, Sergey Nazarkin <snazarki at openjdk.org> wrote:

> I'd like to backport this changes as it fixes some custom launchers issue.  Fix applies cleanly. 
> 
> The functionality was tested with the new test and manually
> 
>     cd ~/tools/bin
>     cp -r ~/jdk .
>     cp jdk/bin/java jdk/lib
>     jdk/lib/java -version
> 
> 
> Without the patch JVM can't start
> 
> Error: could not find libjava.so
> Error: Could not find Java SE Runtime Environment.

This pull request has now been integrated.

Changeset: c9b0307a
Author:    Sergey Nazarkin <snazarki at openjdk.org>
URL:       https://git.openjdk.org/jdk17u-dev/commit/c9b0307a11731a3310f777f91a3a030ab207a941
Stats:     65 lines in 2 files changed: 58 ins; 1 del; 6 mod

8268974: GetJREPath() JLI function fails to locate libjava.so if not standard Java launcher is used

Backport-of: 984003d5c969443abae2d889e92cba30da26e55f

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

PR: https://git.openjdk.org/jdk17u-dev/pull/2257


More information about the jdk-updates-dev mailing list