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

two text tests fail after JDK-8280400

    XMLWordPrintable

    Details

      Description

      The following two tests failed in the JDK19 CI:

      sun/text/resources/LocaleDataTest.java
      java/text/Format/NumberFormat/CurrencyFormat.java

      Here's a log file snippet from the LocaleDataTest.java test:

      ----------System.out:(175/7661)*----------
      Mismatch in CurrencyNames/de/azm:
        file = "Aserbaidschan-Manat (1993-2006)"
         jvm = "Aserbaidschainischer Manat (1993-2006)"
      Mismatch in CurrencyNames/de/azn:
        file = "Aserbaidschan-Manat"
         jvm = "Aserbaidschainischer Manat"
      Mismatch in CurrencyNames/de/csd:
        file = "Alter Serbischer Dinar"
         jvm = "Serbischer Dinar (2002-2006)"
      Mismatch in CurrencyNames/de/esp:
        file = "Spanische Peseta"
         jvm = "Spanische Pesete"
      Mismatch in CurrencyNames/de/fkp:
        file = "Falkland-Pfund"
         jvm = "Falklandinseln-Pfund"
      Mismatch in CurrencyNames/de/ghs:
        file = "Ghanaische Cedi"
         jvm = "Ghanaischer Cedi"
      Mismatch in CurrencyNames/de/itl:
        file = "Italienische Lira"
         jvm = "Italienische Lire"
      Mismatch in CurrencyNames/de/jmd:
        file = "Jamaika-Dollar"
         jvm = "Jamaikanischer Dollar"
      Mismatch in CurrencyNames/de/kes:
        file = "Kenia-Schilling"
         jvm = "Kenianischer Schilling"
      Mismatch in CurrencyNames/de/mzm:
        file = "Alter Metical"
         jvm = "Mosambikanischer Metical (1980-2006)"
      Mismatch in CurrencyNames/de/mzn:
        file = "Metical"
         jvm = "Mosambikanischer Metical"
      Mismatch in CurrencyNames/de/nad:
        file = "Namibia-Dollar"
         jvm = "Namibischer Dollar"
      Mismatch in CurrencyNames/de/nzd:
        file = "Neuseeland-Dollar"
         jvm = "Neuseel\\u00e4ndischer Dollar"
      Mismatch in CurrencyNames/de/sos:
        file = "Somalia-Schilling"
         jvm = "Somalischer Schilling"
      Mismatch in CurrencyNames/de/srd:
        file = "Surinamischer Dollar"
         jvm = "Suriname-Dollar"
      Mismatch in CurrencyNames/de/tpe:
        file = "Timor-Escudo"
         jvm = "Escudo (Portugiesisch-Timor)"
      Mismatch in CurrencyNames/de/trl:
        file = "Alte T\\u00fcrkische Lira"
         jvm = "T\\u00fcrkische Lira (1922-2005)"
      Mismatch in CurrencyNames/de/ttd:
        file = "Trinidad- und Tobago-Dollar"
         jvm = "Trinidad/Tobago-Dollar"
      Mismatch in CurrencyNames/de/twd:
        file = "Neuer Taiwan-Dollar"
         jvm = "Neu-Taiwan Dollar"
      Mismatch in CurrencyNames/de/vef:
        file = "Bol\\u00edvar Fuerte"
         jvm = "Venezolanischer Bol\\u00edvar Fuerte"
      Mismatch in CurrencyNames/de/xag:
        file = "Unze Silber"
         jvm = "Silber"
      Mismatch in CurrencyNames/de/xau:
        file = "Unze Gold"
         jvm = "Gold"
      Mismatch in CurrencyNames/de/xbb:
        file = "Europ\\u00e4ische W\\u00e4hrungseinheit (XBB)"
         jvm = "European Monetary Unit"
      Mismatch in CurrencyNames/de/xpd:
        file = "Unze Palladium"
         jvm = "Palladium"
      Mismatch in CurrencyNames/de/xpt:
        file = "Unze Platin"
         jvm = "Platin"
      Mismatch in CurrencyNames/de/xts:
        file = "Testw\\u00e4hrung"
         jvm = "Testw\\u00e4hrungscode"
      Mismatch in CurrencyNames/de/zwd:
        file = "Simbabwe-Dollar"
         jvm = "Simbabwe-Dollar (1980-2008)"
      Mismatch in CurrencyNames/ja/azm:
        file = "\\u30a2\\u30bc\\u30eb\\u30d0\\u30a4\\u30b8\\u30e3\\u30f3 \\u30de\\u30ca\\u30c8 (1993-2006)"
         jvm = "\\u30a2\\u30bc\\u30eb\\u30d0\\u30a4\\u30b8\\u30e3\\u30f3\\u30fb\\u30de\\u30ca\\u30c8(1993-2006)"
      Mismatch in CurrencyNames/ja/azn:
        file = "\\u30a2\\u30bc\\u30eb\\u30d0\\u30a4\\u30b8\\u30e3\\u30f3 \\u30de\\u30ca\\u30c8"
         jvm = "\\u30a2\\u30bc\\u30eb\\u30d0\\u30a4\\u30b8\\u30e3\\u30f3\\u30fb\\u30de\\u30ca\\u30c8"
      Mismatch in CurrencyNames/ja/ghc:
        file = "\\u30ac\\u30fc\\u30ca \\u30bb\\u30c7\\u30a3 (1979-2007)"
         jvm = "\\u30ac\\u30fc\\u30ca\\u30fb\\u30bb\\u30c7\\u30a3(1979-2007)"
      Mismatch in CurrencyNames/ja/ghs:
        file = "\\u30ac\\u30fc\\u30ca \\u30bb\\u30c7\\u30a3"
         jvm = "\\u30ac\\u30fc\\u30ca\\u30fb\\u30bb\\u30c7\\u30a3"
      Mismatch in CurrencyNames/ja/mzn:
        file = "\\u30e2\\u30b6\\u30f3\\u30d3\\u30fc\\u30af \\u30e1\\u30c6\\u30a3\\u30ab\\u30eb"
         jvm = "\\u30e2\\u30b6\\u30f3\\u30d3\\u30fc\\u30af\\u30fb\\u30e1\\u30c6\\u30a3\\u30ab\\u30eb"
      Mismatch in CurrencyNames/ja/rol:
        file = "\\u30eb\\u30fc\\u30de\\u30cb\\u30a2 \\u65e7\\u30ec\\u30a4"
         jvm = "\\u30eb\\u30fc\\u30de\\u30cb\\u30a2\\u30fb\\u30ec\\u30a4(1952-2006)"
      Mismatch in CurrencyNames/ja/ron:
        file = "\\u30eb\\u30fc\\u30de\\u30cb\\u30a2 \\u30ec\\u30a4"
         jvm = "\\u30eb\\u30fc\\u30de\\u30cb\\u30a2\\u30fb\\u30ec\\u30a4"
      Mismatch in CurrencyNames/ja/rsd:
        file = "\\u30c7\\u30a3\\u30ca\\u30fc\\u30eb (\\u30bb\\u30eb\\u30d3\\u30a2)"
         jvm = "\\u30bb\\u30eb\\u30d3\\u30a2\\u30fb\\u30c7\\u30a3\\u30ca\\u30fc\\u30eb"
      Mismatch in CurrencyNames/ja/sdg:
        file = "\\u30b9\\u30fc\\u30c0\\u30f3 \\u30dd\\u30f3\\u30c9"
         jvm = "\\u30b9\\u30fc\\u30c0\\u30f3\\u30fb\\u30dd\\u30f3\\u30c9"
      Mismatch in CurrencyNames/ja/srd:
        file = "\\u30b9\\u30ea\\u30ca\\u30e0 \\u30c9\\u30eb"
         jvm = "\\u30b9\\u30ea\\u30ca\\u30e0\\u30fb\\u30c9\\u30eb"
      Mismatch in CurrencyNames/ja/vef:
        file = "\\u30d9\\u30cd\\u30ba\\u30a8\\u30e9 \\u30dc\\u30ea\\u30d0\\u30eb\\u30d5\\u30a8\\u30eb\\u30c6"
         jvm = "\\u30d9\\u30cd\\u30ba\\u30a8\\u30e9\\u30fb\\u30dc\\u30ea\\u30d0\\u30eb"
      Mismatch in CurrencyNames/ja/xts:
        file = "\\u30c6\\u30b9\\u30c8\\u7528\\u901a\\u8ca8\\u30b3\\u30fc\\u30c9"
         jvm = "\\u30c6\\u30b9\\u30c8\\u901a\\u8ca8\\u30b3\\u30fc\\u30c9"
      Mismatch in CurrencyNames/ja/xxx:
        file = "\\u4e0d\\u660e\\u307e\\u305f\\u306f\\u7121\\u52b9\\u306a\\u901a\\u8ca8"
         jvm = "\\u4e0d\\u660e\\u306a\\u901a\\u8ca8"
      Mismatch in CurrencyNames/ja/zmk:
        file = "\\u30b6\\u30f3\\u30d3\\u30a2 \\u30af\\u30ef\\u30c1\\u30e3"
         jvm = "\\u30b6\\u30f3\\u30d3\\u30a2\\u30fb\\u30af\\u30ef\\u30c1\\u30e3"
      Mismatch in CurrencyNames/zh_CN/ang:
        file = "\\u8377\\u5170\\u5b89\\u66ff\\u5170\\u76fe"
         jvm = "\\u8377\\u5c5e\\u5b89\\u7684\\u5217\\u65af\\u76fe"
      Mismatch in CurrencyNames/zh_CN/csd:
        file = "\\u65e7\\u585e\\u5c14\\u7ef4\\u4e9a\\u7b2c\\u7eb3\\u5c14"
         jvm = "\\u585e\\u5c14\\u7ef4\\u4e9a\\u7b2c\\u7eb3\\u5c14 (2002-2006)"
      Mismatch in CurrencyNames/zh_CN/mzm:
        file = "\\u65e7\\u83ab\\u6851\\u6bd4\\u514b\\u7f8e\\u63d0\\u5361"
         jvm = "\\u83ab\\u6851\\u6bd4\\u514b\\u7f8e\\u63d0\\u5361 (1980-2006)"
      Mismatch in CurrencyNames/zh_CN/shp:
        file = "\\u5723\\u8d6b\\u52d2\\u62ff\\u7fa4\\u5c9b\\u78c5"
         jvm = "\\u5723\\u8d6b\\u52d2\\u62ff\\u9551"
      Mismatch in CurrencyNames/zh_CN/vef:
        file = "\\u59d4\\u5185\\u745e\\u62c9\\u5f3a\\u52bf\\u73bb\\u5229\\u74e6"
         jvm = "\\u59d4\\u5185\\u745e\\u62c9\\u73bb\\u5229\\u74e6\\u5c14"
      Mismatch in CurrencyNames/zh_CN/xxx:
        file = "\\u8d27\\u5e01\\u672a\\u77e5\\u6216\\u65e0\\u6548"
         jvm = "\\u672a\\u77e5\\u8d27\\u5e01"
      Mismatch in CurrencyNames/de/bob:
        file = "Boliviano"
         jvm = "Bolivianischer Boliviano"
      Mismatch in CurrencyNames/de/mwk:
        file = "Malawi Kwacha"
         jvm = "Malawi-Kwacha"
      Mismatch in CurrencyNames/de/mxv:
        file = "Mexican Unidad de Inversion (UDI)"
         jvm = "Unidad De Inversion (Mexiko)"
      Mismatch in CurrencyNames/de/svc:
        file = "El Salvador Colon"
         jvm = "El-Salvador-Col\\u00f3n"
      Mismatch in CurrencyNames/de/cuc:
        file = "Kubanischer Peso (konvertibel)"
         jvm = "Kubanischer konvertibler Peso"
      Mismatch in CurrencyNames/de/tmt:
        file = "Neuer Turkmenistan-Manat"
         jvm = "Turkmenistan-Manat"
      Mismatch in CurrencyNames/ja/cuc:
        file = "\\u30ad\\u30e5\\u30fc\\u30d0 \\u514c\\u63db\\u30da\\u30bd"
         jvm = "\\u30ad\\u30e5\\u30fc\\u30d0\\u514c\\u63db\\u30da\\u30bd"
      Mismatch in CurrencyNames/ja/tmt:
        file = "\\u30c8\\u30eb\\u30af\\u30e1\\u30cb\\u30b9\\u30bf\\u30f3 \\u65b0\\u30de\\u30ca\\u30c8"
         jvm = "\\u30c8\\u30eb\\u30af\\u30e1\\u30cb\\u30b9\\u30bf\\u30f3\\u30fb\\u30de\\u30ca\\u30c8"
      Mismatch in CurrencyNames/ja/zwl:
        file = "\\u30b8\\u30f3\\u30d0\\u30d6\\u30a8 \\u30c9\\u30eb (2009)"
         jvm = "\\u30b8\\u30f3\\u30d0\\u30d6\\u30a8\\u30fb\\u30c9\\u30eb(2009)"
      Mismatch in CurrencyNames/zh_CN/tmt:
        file = "\\u571f\\u5e93\\u66fc\\u65af\\u5766\\u65b0\\u9a6c\\u7eb3\\u7279"
         jvm = "\\u571f\\u5e93\\u66fc\\u65af\\u5766\\u9a6c\\u7eb3\\u7279"
      Mismatch in CurrencyNames/de/sar:
        file = "Saudi-Rial"
         jvm = "Saudischer Rial"
      Test failed. 58 errors.
      ----------System.err:(10/514)----------
      java.lang.Exception: Test failed. 58 errors.
      at LocaleDataTest.main(LocaleDataTest.java:229)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:577)
      at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:312)
      at java.base/java.lang.Thread.run(Thread.java:828)

      JavaTest Message: Test threw exception: java.lang.Exception
      JavaTest Message: shutting down test

      result: Failed. Execution failed: `main' threw exception: java.lang.Exception: Test failed. 58 errors.


      Here's a log file snippet from the CurrencyFormat.java test:

      #section:main
      ----------messages:(5/297)----------
      command: main -Djava.locale.providers=COMPAT CurrencyFormat COMPAT
      reason: User specified action: run main/othervm -Djava.locale.providers=COMPAT CurrencyFormat COMPAT
      Mode: othervm [/othervm specified]
      Additional options from @modules: --add-modules jdk.localedata
      elapsed time (seconds): 0.381
      ----------configuration:(3/42)----------
      Boot Layer
        add modules: jdk.localedata

      ----------System.out:(38/2402)----------
      Warning: No expected currency symbol defined for locale
      Warning: No expected currency symbol defined for locale zh_HK_#Hant
      Warning: No expected currency symbol defined for locale he
      Warning: No expected currency symbol defined for locale mt_MT
      Warning: No expected currency symbol defined for locale nb_NO
      Warning: No expected currency symbol defined for locale zh_SG_#Hans
      Warning: No expected currency symbol defined for locale vi_VN
      Warning: No expected currency symbol defined for locale sr_ME
      Warning: No expected currency symbol defined for locale en_SG
      Warning: No expected currency symbol defined for locale ga
      Warning: No expected currency symbol defined for locale en_MT
      Warning: No expected currency symbol defined for locale sr_BA_#Latn
      Warning: No expected currency symbol defined for locale ja_JP_JP_#u-ca-japanese
      Warning: No expected currency symbol defined for locale sr_CS
      Warning: No expected currency symbol defined for locale ms_MY
      Warning: No expected currency symbol defined for locale bg_BG
      Warning: No expected currency symbol defined for locale zh_CN_#Hans
      Warning: No expected currency symbol defined for locale sr_BA
      Warning: No expected currency symbol defined for locale es_EC
      Warning: No expected currency symbol defined for locale es_US
      Warning: No expected currency symbol defined for locale ar_SD
      Warning: No expected currency symbol defined for locale en_PH
      Warning: No expected currency symbol defined for locale sr_ME_#Latn
      Warning: No expected currency symbol defined for locale zh_TW_#Hant
      Warning: No expected currency symbol defined for locale el_CY
      Warning: No expected currency symbol defined for locale ga_IE
      Warning: No expected currency symbol defined for locale sr__#Latn
      Warning: No expected currency symbol defined for locale sr_RS
      Warning: No expected currency symbol defined for locale ms
      Warning: No expected currency symbol defined for locale th_TH_TH_#u-nu-thai
      Warning: No expected currency symbol defined for locale hi
      Warning: No expected currency symbol defined for locale id_ID
      Warning: No expected currency symbol defined for locale vi
      Warning: No expected currency symbol defined for locale he_IL
      Warning: No expected currency symbol defined for locale sr
      Warning: No expected currency symbol defined for locale mt
      Warning: No expected currency symbol defined for locale zh_SG
      Warning: No expected currency symbol defined for locale nn_NO
      ----------System.err:(12/1043)----------
      java.lang.RuntimeException: Wrong currency symbol for locale zh_CN, expected: ?, got: CNY
      at CurrencyFormat.testSymbols(CurrencyFormat.java:159)
      at CurrencyFormat.main(CurrencyFormat.java:51)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:577)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:828)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Wrong currency symbol for locale zh_CN, expected: ?, got: CNY
      JavaTest Message: shutting down test

      STATUS:Failed.<EncodeD>60 6d 61 69 6e 27 20 74 68 72 65 77 20 65 78 63 65 70 74 69 6f 6e 3a 20 6a 61 76 61 2e 6c 61 6e 67 2e 52 75 6e 74 69 6d 65 45 78 63 65 70 74 69 6f 6e 3a 20 57 72 6f 6e 67 20 63 75 72 72 65 6e 63 79 20 73 79 6d 62 6f 6c 20 66 6f 72 20 6c 6f 63 61 6c 65 20 7a 68 5f 43 4e 2c 20 65 78 70 65 63 74 65 64 3a 20 ffe5 2c 20 67 6f 74 3a 20 43 4e 59 </EncodeD>
      ----------rerun:(38/5687)*----------

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              achung Alisen Chung
              Reporter:
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: