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

java/text/Format/DateFormat/WeekDateTest.java fails on OEL5.6 hi_IN.UTF-8

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • P3
    • Resolution: Fixed
    • 7
    • 8
    • core-libs
    • b96
    • generic
    • linux_oracle_5.6
    • Verified

    Description

      java/text/Format/DateFormat/WeekDateTest.java fails on OEL5.6 with locale hi_IN.UTF-8

      Test info:
      # uname -a
      Linux OEL5u6x86 2.6.18-238.el5 #1 SMP Tue Jan 4 15:24:05 EST 2011 i686 i686 i386 GNU/Linux
      # cat /etc/*release
      Enterprise Linux Enterprise Linux Server release 5.6 (Carthage)
      Oracle Linux Server release 5.6
      Red Hat Enterprise Linux Server release 5.6 (Tikanga)
      # ./java -version
      java version "1.7.0"
      Java(TM) SE Runtime Environment (build 1.7.0-b147)
      Java HotSpot(TM) Client VM (build 21.0-b17, mixed mode, sharing)

      #section:main
      ----------messages:(3/123)----------
      command: main WeekDateTest
      reason: Assumed action based on file name: run main WeekDateTest
      elapsed time (seconds): 0.134
      ----------System.out:(0/0)----------
      ----------System.err:(14/905)*----------
      java.lang.RuntimeException: format: got=\u0968\u0966\u0966\u096a-W\u096b\u0969-\u096c, expecetd=2004-W53-6
      at WeekDateTest.formatTest(WeekDateTest.java:99)
      at WeekDateTest.main(WeekDateTest.java:84)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:601)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:78)
      at java.lang.Thread.run(Thread.java:722)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: format: got=\u0968\u0966\u0966\u096a-W\u096b\u0969-\u096c, expecetd=2004-W53-6
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: format: got= -W - , expecetd=2004-W53-6
      result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: format: got= -W - , expecetd=2004-W53-6

      test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: format: got= -W - , expecetd=2004-W53-6

      Attached WeekDateTest.jtr for your reference.

      Attachments

        Issue Links

          Activity

            People

              psun Peng Sun (Inactive)
              psun Peng Sun (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: