On Wed, 15 Apr 2026 15:55:18 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).
The code changes look good to me. I agree with Chen that the test should check
there's no non-ASCII digits involved
-------------
PR Review: https://git.openjdk.org/jdk/pull/30748#pullrequestreview-4116992838