[jdk8u-dev] RFR: 8039955: [TESTBUG] jdk/lambda/LambdaTranslationTest1 - java.lang.AssertionError: expected [d:1234.000000] but found [d:1234, 000000]

zzambers duke at openjdk.org
Tue Aug 23 15:15:19 UTC 2022


This is backport of JDK-8039955 [1]. 

Two tests from jdk_tier1 are sensitive to locale of test machine (expect "." as decimal separator), which causes failures when running on some locales, such as czech (which uses "," as decimal separator ). This backport fixes this issue.

Patch with changes applies cleanly:

git apply 0001-8039955-TESTBUG-jdk-lambda-LambdaTranslationTest1-ja.patch


Tested locally using czech locale, 2 tests in jdk_tier1 get fixed, no regressions.

[1] https://bugs.openjdk.org/browse/JDK-8039955

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

Commit messages:
 - Backport 3555038f51fbf7f908b7346a8329f4da44a7cde5

Changes: https://git.openjdk.org/jdk8u-dev/pull/112/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk8u-dev&pr=112&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8039955
  Stats: 10 lines in 2 files changed: 4 ins; 0 del; 6 mod
  Patch: https://git.openjdk.org/jdk8u-dev/pull/112.diff
  Fetch: git fetch https://git.openjdk.org/jdk8u-dev pull/112/head:pull/112

PR: https://git.openjdk.org/jdk8u-dev/pull/112


More information about the jdk8u-dev mailing list