java/util/Locale/Bug4184873Test.java fails on JDK7-b95

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P3
    • None
    • Affects Version/s: 7
    • Component/s: hotspot
    • None
    • generic
    • generic

      Test java/util/Locale/Bug4184873Test.java fails on JDK7-b95 with the following log:

      Bug4184873Test {
        testIt {
          java.io.StreamCorruptedException: invalid stream header: ACED0573
          java.lang.RuntimeException: java.io.StreamCorruptedException: invalid stream header: ACED0573

          Uncaught exception thrown in test method testIt
      ----------System.err:(18/949)----------
      java.lang.RuntimeException: Uncaught exception thrown in test method testIt

      at LocaleTestFmwk.err(LocaleTestFmwk.java:196)
      at LocaleTestFmwk.errln(LocaleTestFmwk.java:201)
      at LocaleTestFmwk.run(LocaleTestFmwk.java:149)
      at Bug4184873Test.main(Bug4184873Test.java:71)
      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:613)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:717)

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

      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Uncaught exception thrown in test method testIt
      result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Uncaught exception thrown in test method testIt

      ------------------

      The reason seems to be the Bug4184873_he data file, which has data format not acceptable by JDK 7. Note, that the corresponding test from JTREG testbase 6 passes with JDK 7. This test has Bug4184873_he file different from that of testbase 7.

            Assignee:
            Unassigned
            Reporter:
            Igor Privalov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: