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

Currency format for hi_IN does not contain generic currency symbol:?? #,##0.00;-

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 1.4.0
    • core-libs
    • sparc
    • generic

      Currency format for hi_IN in jdk1.4 should contain generic currency symbol:?? #,##0.00;-?? #,##0.00"

      How found:
      Two tests of Merlin Regression Test failed with jdk1.4 b32 on Solaris 2.7, 2.7, and 8 in ja-locale because "Currency format for hi_IN does not contain generic currency symbol:?? #,##0.00;-?? #,##0.00", which should be supported. This bug is related to the closed one ID4122840.

      For instance, the following messages came out on sol2.7 in ja_locale:

      1) Regression tests for NumberFormat and associated classes (file: NumberRegression.java)

      ----------System.out:(5/209)----------
      NumberRegression {
        Test4162198 Passed
        Test4122840 {
          Currency format for hi_IN does not contain generic currency symbol:?? #,##0.00;-?? #,##0.00
          Uncaught exception thrown in test method Test4122840
      ----------System.err:(15/590)----------
      java.lang.RuntimeException: Uncaught exception thrown in test method Test4122840

              at IntlTest.err(IntlTest.java:161)
              at IntlTest.errln(IntlTest.java:166)
              at IntlTest.run(IntlTest.java:114)
              at NumberRegression.main(NumberRegression.java:33)
              at java.lang.reflect.Method.invoke(Native Method)
              at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
              at java.lang.Thread.run(Thread.java:488)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Uncaught exception thrown in test method Test4122840


      2) test NumberFormat (file: NumberTest.java)

      ----------System.out:(4/180)----------
      NumberTest {
        TestCurrencySubstitution {
          FAIL: hi_IN not using currency symbol substitution: ?? ?,???.??
          Uncaught exception thrown in test method TestCurrencySubstitution
      ----------System.err:(15/604)----------
      java.lang.RuntimeException: Uncaught exception thrown in test method TestCurrencySubstitution

              at IntlTest.err(IntlTest.java:161)
              at IntlTest.errln(IntlTest.java:166)
              at IntlTest.run(IntlTest.java:114)
              at NumberTest.main(NumberTest.java:13)
              at java.lang.reflect.Method.invoke(Native Method)
              at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
              at java.lang.Thread.run(Thread.java:488)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Uncaught exception thrown in test method TestCurrencySubstitution

      Steps to reproduce:
      1. get jdk1.4 b32 for solaris under
      /usr/local/java/jdk1.4/bundles
      2. get and install JTreg from
      /usr/local/java/sqe-tools2.1.3fcs/javatest.jar
      3. get the files from
      /ws/jdk1.4/test/java/text/Format/NumberTest.java
      /ws/jdk1.4/test/java/text/Fofmat/NumberRegression.java
      4. compile and run the test files on solaris 2.6, 2.7, and 8



      keiko.nakayama@Eng 2000-09-25

            sgillsunw Stuart Gill (Inactive)
            knakayamsunw Keiko Nakayama (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: