Integrated: 8350041: Skip test/jdk/java/lang/String/nativeEncoding/StringPlatformChars.java on static JDK

Jiangli Zhou jiangli at openjdk.org
Sun Feb 23 02:38:57 UTC 2025


On Fri, 14 Feb 2025 18:31:52 GMT, Jiangli Zhou <jiangli at openjdk.org> wrote:

> Please review the fix to make `java/lang/String/nativeEncoding/StringPlatformChars.java` jtreg test: 
> 
> - Lookup `JNU_GetStringPlatformChars`, `JNU_ClassString` and `JNU_NewStringPlatform` dynamically
> - Remove `#include "jni_util.h"` and don't link `libstringPlatformChars.so` with `libjava.so`
> - Link with `-ldl` explicitly
> 
> The test passed on Linux, macos and Windows in GHA testing, https://github.com/jianglizhou/jdk/actions/runs/13320840902/job/37206171224

This pull request has now been integrated.

Changeset: 05b48129
Author:    Jiangli Zhou <jiangli at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/05b481294cbf2ad7c8d917b8e039e7aebcf91104
Stats:     2 lines in 1 file changed: 1 ins; 0 del; 1 mod

8350041: Skip test/jdk/java/lang/String/nativeEncoding/StringPlatformChars.java on static JDK

Reviewed-by: alanb

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

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


More information about the build-dev mailing list