RFR: 8271615: vmTestbase/vm/jit/LongTransitions/ test fail due to locale mismatch

Mikhailo Seledtsov mseledtsov at openjdk.org
Thu Aug 25 23:45:41 UTC 2022


Decimal point differs based on locale, could be '.' or ','.                                                                                                                          
Due to settings on a test host environment locale may differ between                                                                                                                 
the native side vs Java side thus causing mismatch and test failure.

Solution: added special handling in comparison loop for decimal points.

Testing: PASS (see bug comments for details)

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

Commit messages:
 - Updated copyright year
 - Special handling for decimal point in comparison logic

Changes: https://git.openjdk.org/jdk/pull/10033/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=10033&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8271615
  Stats: 10 lines in 1 file changed: 9 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/10033.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/10033/head:pull/10033

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


More information about the hotspot-compiler-dev mailing list