On Thu, 16 Apr 2026 07:13:56 GMT, Chris Hegarty <[email protected]> wrote:

>> `VectorMathLibrary.SVML.symbolName()` uses `String.format("%d", vlen)` 
>> without specifying `Locale.ROOT` to construct native symbol names for 
>> libjsvml.so lookup. Under locales that use non-ASCII digit systems (e.g. 
>> `ar-SA` Arabic-Indic, `hi-IN` Devanagari), the `%d` format specifier 
>> produces locale-specific digits, causing the FFI SymbolLookup to fail with 
>> `NoSuchElementException`.
>> 
>> ---------
>> - [x] I confirm that I make this contribution in accordance with the 
>> [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai).
>
> Chris Hegarty has updated the pull request incrementally with two additional 
> commits since the last revision:
> 
>  - doc failure mode
>  - assert non-ASCII

LGTM

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

Marked as reviewed by naoto (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/30748#pullrequestreview-4122500106

Reply via email to