[jdk11u-dev] Integrated: 8268974: GetJREPath() JLI function fails to locate libjava.so if not standard Java launcher is used
Sergey Nazarkin
snazarki at openjdk.org
Fri Apr 5 05:31:15 UTC 2024
On Thu, 29 Feb 2024 11:02:01 GMT, Sergey Nazarkin <snazarki at openjdk.org> wrote:
> I'd like to backport this changes as it fixes some custom launchers issue. The backport is not clean:
> 1. [8234821](https://bugs.openjdk.org/browse/JDK-8234821) was not backported to jdk11, so *java_md_common.c* need manual adjusting.
> 2. The test can't be started as it depends on whole jpackage test [pack](https://bugs.openjdk.org/browse/JDK-8268974). So I've removed it.
>
> The functionality was tested with simple
>
> cd ~/tools/bin
> cp -r ~/jdk .
> cp jdk/bin/java jdk/lib
> jdk/lib/java -version
>
>
> Without the patch it show the error
>
> Error: could not find libjava.so
> Error: Could not find Java SE Runtime Environment.
>
>
> jdk_tier2 is OK as well
This pull request has now been integrated.
Changeset: 2e46aad2
Author: Sergey Nazarkin <snazarki at openjdk.org>
URL: https://git.openjdk.org/jdk11u-dev/commit/2e46aad2d2521555b3cc1b35706e65b3f66ce4c0
Stats: 15 lines in 1 file changed: 8 ins; 1 del; 6 mod
8268974: GetJREPath() JLI function fails to locate libjava.so if not standard Java launcher is used
Reviewed-by: yan
Backport-of: 984003d5c969443abae2d889e92cba30da26e55f
-------------
PR: https://git.openjdk.org/jdk11u-dev/pull/2578
More information about the jdk-updates-dev
mailing list