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

test/java/util/Currency/CurrencyTest.java failing in jdk7-b138

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: 7
    • Fix Version/s: 7
    • Component/s: globalization
    • Labels:

      Description

      --------------------------------------------------
      TEST: java/util/Currency/CurrencyTest.java
      JDK under test: (/tmp/jprt/P2/T/192832.ab23780/testproduct/linux_x64_2.6-product)
      java version "1.7.0-internal"
      Java(TM) SE Runtime Environment (build 1.7.0-internal-201104171928.ab23780.TL-jdk-b00)
      Java HotSpot(TM) 64-Bit Server VM (build 21.0-b08, mixed mode)

      ACTION: build -- Passed. Build successful
      REASON: Named class compiled on demand
      TIME: 0.057 seconds
      messages:
      command: build CurrencyTest
      reason: Named class compiled on demand
      elapsed time (seconds): 0.057

      ACTION: compile -- Passed. Compilation successful
      REASON: .class file out of date or does not exist
      TIME: 0.056 seconds
      messages:
      command: compile /tmp/jprt/P2/T/192832.ab23780/source/test/java/util/Currency/CurrencyTest.java
      reason: .class file out of date or does not exist
      elapsed time (seconds): 0.056

      ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Wrong display name for currency DEM: expected 'Deutsche Mark', got 'German Mark'
      REASON: Assumed action based on file name: run main CurrencyTest
      TIME: 0.074 seconds
      messages:
      command: main CurrencyTest
      reason: Assumed action based on file name: run main CurrencyTest
      elapsed time (seconds): 0.074
      STDOUT:
      test: (file: 1 data: 140), JRE: (file: 1 data: 140)
      Countries tested: 112, own currencies: 88
      STDERR:
      java.lang.RuntimeException: Wrong display name for currency DEM: expected 'Deutsche Mark', got 'German Mark'
      at CurrencyTest.testDisplayName(CurrencyTest.java:260)
      at CurrencyTest.testDisplayNames(CurrencyTest.java:247)
      at CurrencyTest.main(CurrencyTest.java:51)
      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.MainAction$SameVMRunnable.run(MainAction.java:680)
      at java.lang.Thread.run(Thread.java:722)

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


      TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Wrong display name for currency DEM: expected 'Deutsche Mark', got 'German Mark'
      --------------------------------------------------

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              alanb Alan Bateman
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: