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

Regression Test:java/util/TimeZone/:Bug4472183.java & WinTZVM.sh Failed

XMLWordPrintable

      jdk build used: jdk1.5.0_01 ea-b03
      Platform: WinXP-Pro

      1)Regression script used: reg_tiger_01_build01_i18n.sh
      2)Execute this script with command:
        sh reg_tiger_01_build01_i18n.sh "jtreg -a -jdk:$JAVA_HOME"
      3)The following test cases fails
       java/util/TimeZone/Bug4472183.java
       java/util/TimeZone/WinTZVM.sh

      From report files:

      1) for Bug4472183.java: check the file JTwork/java/util/TimeZone/Bug4472183.jtr : the following exception is found:
      java.lang.RuntimeException: TimeZone.getDefault() failed. (GMT+05:30)
      at Bug4472183.main(Bug4472183.java:42)
      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:585)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:595)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: TimeZone.getDefault() failed. (GMT+05:30)
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: TimeZone.getDefault() failed. (GMT+05:30)
      result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: TimeZone.getDefault() failed. (GMT+05:30)

      test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: TimeZone.getDefault() failed. (GMT+05:30)


      2)for WinTZVM.sh: Check the file: JTwork/java/util/TimeZone/WinTZVM.jtr:
      the following is the extract from the exception block:
      ..
      Exception in thread "main" java.lang.RuntimeException: FAILED: Expected Europe/Paris, got GMT+01:00
      at DefaultIDCheck.main(DefaultIDCheck.java:15)
      Exception in thread "main" java.lang.RuntimeException: FAILED: Expected Europe/Prague, got GMT+01:00 at DefaultIDCheck.main(DefaultIDCheck.java:15)
      Exception in thread "main" java.lang.RuntimeException: FAILED: Expected Europe/Athens, got GMT+02:00 at DefaultIDCheck.main(DefaultIDCheck.java:15)
      Exception in thread "main" java.lang.RuntimeException: FAILED: Expected Europe/Helsinki, got GMT+02:00 at DefaultIDCheck.main(DefaultIDCheck.java:15)
      Exception in thread "main" java.lang.RuntimeException: FAILED: Expected Asia/Jerusalem, got GMT+02:00 at DefaultIDCheck.main(DefaultIDCheck.java:15)
      .......

      NOTE: Attached is the tar file of the report directories generated(JTreport & JTwork)
      ###@###.### 10/8/04 09:39 GMT

            okutsu Masayoshi Okutsu
            malobo Mangala Lobo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: