Remove outdated locale saving in i18n tests

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • 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.

            Assignee:
            Justin Lu
            Reporter:
            Justin Lu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: