Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8133731

[TEST_BUG] Unmappable in ASCII character such as Thai should be escaped in the regtests targeted for a regular non-I18n runs

XMLWordPrintable

        Test javax/swing/JTextField/I18NViewNoWrapMinSpan/I18NViewNoWrapMinSpan.java provided with a fix to JDK-8076164 fails compilation if locale happens to be not Unicode. We still sometimes run the tests setting LANG=C.

        Making the literal string "\u0E0B12345" instead of "ม12345" doesn't break the test behavior -- it still does fail and pass before and after the fix corresp. -- and makes the test compilable everywhere.

              aivanov Alexey Ivanov
              yan Yuri Nesterenko
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: