-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
P4
-
Affects Version/s: 26
-
Component/s: core-libs
Many older locale tests have a legacy process of caching the default locale of a machine, changing the default locale for some testing, and then re-setting the default back to the cached locale after test completion.
We have better ways to accomplish this now. We can test specific locales in dedicated JVMs using the following JTreg header combo:
/othervm -Duser.language=en -Duser.country=US
Or we can just use a locale accepting factory method to test behavior specific to a certain locale.
This makes the test simpler and less error prone.
We have better ways to accomplish this now. We can test specific locales in dedicated JVMs using the following JTreg header combo:
/othervm -Duser.language=en -Duser.country=US
Or we can just use a locale accepting factory method to test behavior specific to a certain locale.
This makes the test simpler and less error prone.
- relates to
-
JDK-8372609 Bug4944439 does not enforce locale correctly
-
- In Progress
-