RFR: 8350041: Skip test/jdk/java/lang/String/nativeEncoding/StringPlatformChars.java on static JDK [v3]

Alan Bateman alanb at openjdk.org
Sat Feb 22 07:35:52 UTC 2025


On Fri, 21 Feb 2025 19:04:31 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
>
> Jiangli Zhou has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Update copyright year.

Marked as reviewed by alanb (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/23646#pullrequestreview-2634741045


More information about the build-dev mailing list