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

Regression: test/java/util/Locale/InternationalBAT.java is failing

XMLWordPrintable

    • mantis
    • generic, x86, sparc
    • generic, solaris_9, windows_98
    • Verified

      Regression test suit for Hopper build 18:
      http://meercat.sfbay:8080/shuna/i18n_regression/script/hopper/build18_07252002/
      JDK : J2SDK Hopper rc b18
      OS : Windows 2k Prof/japanese / Solaris 8 sparc(euc) / RedHat Linux 7.2
      Test case : test/java/util/Locale/InternationalBAT.java

      Regression test InternationalBAT.java failed with Hopper b18 due to an error java.lang.RuntimeException.
      Looking at jtr file, this occurs on zh_CN, zh_TW, ja_JP.

      Here is a part of jtr file.
      ============================
      ----------System.out:(9/731)*----------
      Incorrect date string for locale zh_CN. Expected: 2001\u5e745\u670810\u65e5, got: 2001\u5e745\u670810\u65e5 \u661f\u671f\u56db
      Incorrect date string for locale zh_TW. Expected: 2001\u5e745\u670810\u65e5, got: 2001\u5e745\u670810\u65e5 \u661f\u671f\u56db
      Incorrect date string for locale ja_JP. Expected: 2001\u5e745\u670810\u65e5, got: 2001\u5e745\u670810\u65e5 (\u6728\u66dc\u65e5)

      Some tests failed.
      If you installed the US-only J2RE for Windows, failures are expected and OK.
      If you installed the international J2RE, or any J2SDK, or if this occurs on any platform other than Windows, please file a bug report.
      Unfortunately, this test cannot determine whether you installed a US-only J2RE, an international J2RE, or a J2SDK.

      ----------System.err:(13/658)----------
      java.lang.RuntimeException
              at InternationalBAT.main(InternationalBAT.java:37)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:324)
              at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
              at java.lang.Thread.run(Thread.java:536)

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

      According to error messages,
      If you installed the US-only J2RE for Windows, failures are expected and OK.
      If you installed the international J2RE, or any J2SDK, or if this occurs on any platform other than Windows, please file a bug report.

      I installed the J2SDK 1.4.1 b18, not J2RE.

      I confirmed that this fail is reproducible on Solaris sparc 8(euc), win2k, Redhat Linux 7.2.

      This problem does not occur with J2SDK b17 on the same machine.

      Steps to reproduce:
      1) Install J2SDK 1.4.1 b18.
      2) Get regression test case form
         /java/re/jdk/1.4.1/promoted/rc/b18/ws/j2se/test
      3) Launch test/java/util/Locale/InternationalBAT.java

      Then, you can see the problem.


      Please see attached file for more detail of error.





            peytoia Yuka Kamiya (Inactive)
            rsuzukisunw Rieko Suzuki (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: