> `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

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/30748/files
  - new: https://git.openjdk.org/jdk/pull/30748/files/847f8ccb..659f2851

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=30748&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=30748&range=00-01

  Stats: 12 lines in 1 file changed: 4 ins; 2 del; 6 mod
  Patch: https://git.openjdk.org/jdk/pull/30748.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/30748/head:pull/30748

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

Reply via email to